http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15635
--- Comment #5 from M. Tompsett <[email protected]> --- Comment on attachment 47125 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47125 Bug 15635: Koha::Patron::Images - Remove RmPatronImage Review of attachment 47125: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15635&attachment=47125) ----------------------------------------------------------------- ::: tools/picture-upload.pl @@ +163,5 @@ > + my $deleted = eval { > + Koha::Patron::Images->find( $borrowernumber )->delete; > + }; > + if ( $@ or not $deleted ) { > + warn "Image for patron '$borrowernumber' has not been deleted"; Should we not distinguish between $@ and not $deleted? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
