https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36307
Marcel de Rooy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|[email protected] |[email protected] |y.org | CC| |[email protected] --- Comment #6 from Marcel de Rooy <[email protected]> --- FIXED * Commit title does not start with 'Bug XXXXX: ' - eb3ef09d69 Following code could still be improved with error codes. (No blocker for me) foreach my $required_parameter ( qw( message destination ) ) { # Should I warn in some way? return unless defined $params->{ $required_parameter }; } eval { require SMS::Send; }; if ( $@ ) { # we apparently don't have SMS::Send. Return a failure. return; } Similarly (no blocker for me): return $sent; If $sent is 0, this could use a specific error code, I would say. Now we fallback to NO_NOTES. SMS::Send does not tell us much more, I am afraid. Provide a follow-up if you like. -- 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/
