Bug 16073: Fix software error in circulation.pl
[koha.git] / circ / add_message.pl
index e0ffc40..317f34b 100755 (executable)
@@ -49,7 +49,7 @@ Koha::Patron::Message->new(
         message_type   => $message_type,
         message        => $borrower_message,
     }
-);
+)->store;
 
 print $input->redirect(
     "/cgi-bin/koha/circ/circulation.pl?borrowernumber=$borrowernumber");