diff --git a/virtualshelves/addbybiblionumber.pl b/virtualshelves/addbybiblionumber.pl index 790904fefa..71270b7439 100755 --- a/virtualshelves/addbybiblionumber.pl +++ b/virtualshelves/addbybiblionumber.pl @@ -132,8 +132,8 @@ sub HandleNewVirtualShelf { sortfield => $sortfield, owner => $loggedinuser, } - ); - }->store; + )->store; + }; if ( $@ or not $shelf ) { $authorized = 0; $errcode = 1;