https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26346
--- Comment #61 from Marcel de Rooy <[email protected]> --- add_biblio my $patron = Koha::Patrons->find( $borrowernumber ) or return 0; return unless ( $self->owner == $borrowernumber && $self->allow_change_from_owner ) || ( $self->allow_change_from_staff && $patron->can_patron_change_staff_only_lists ) || $self->allow_change_from_others; Why return 0 on the first line and return undef on the second? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
