Bug 32071: Compiled CSS
[koha-ffzg.git] / Koha / Recall.pm
index ebe2037..c993bb7 100644 (file)
@@ -354,7 +354,7 @@ sub set_waiting {
             biblio => $self->biblio_id,
             borrowers => $self->patron_id,
             items => $itemnumber,
-            recalls => $self->id,
+            recalls => $self->recall_id,
         },
     );
 
@@ -457,7 +457,7 @@ Set a recall as finished. This should only be called when the item allocated to
 sub set_fulfilled {
     my ( $self ) = @_;
     $self->update({ status => 'fulfilled', completed => 1, completed_date => dt_from_string });
-    C4::Log::logaction( 'RECALLS', 'FULFILL', $self->id, "Recall fulfilled", 'INTRANET' ) if ( C4::Context->preference('RecallsLog') );
+    C4::Log::logaction( 'RECALLS', 'FILL', $self->id, "Recall fulfilled", 'INTRANET' ) if ( C4::Context->preference('RecallsLog') );
     return $self;
 }