@@ -, +, @@ --- Koha/Virtualshelves.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/Virtualshelves.pm +++ a/Koha/Virtualshelves.pm @@ -57,7 +57,7 @@ sub get_private_shelves { join => [ 'virtualshelfshares' ], group_by => 'shelfnumber', order_by => 'shelfname', - ( $page and $rows ? ( page => $page, rows => $rows ) : () ) + ( ( $page and $rows ) ? ( page => $page, rows => $rows ) : () ) } ); } @@ -75,7 +75,7 @@ sub get_public_shelves { { group_by => 'shelfnumber', order_by => 'shelfname', - ( $page and $rows ? ( page => $page, rows => $rows ) : () ) + ( ( $page and $rows ) ? ( page => $page, rows => $rows ) : () ) } ); } --