Merge branch 'bug2505_patches' of git://git.catalyst.net.nz/koha into to-push
[koha.git] / sms / sms.pl
index 5ce6ded..02a0c6c 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/perl
 
 use strict;
+#use warnings; FIXME - Bug 2505
 use CGI;
 use C4::SMS;
 use C4::Output;
@@ -17,7 +18,7 @@ my ($template, $loggedinuser, $cookie)
                query => $query,
                type => "intranet",
                authnotrequired => 0,
-               flagsrequired => {circulate => 1},
+               flagsrequired => {circulate => "circulate_remaining_permissions" },
                debug => 1,
        });
 if ($operation eq "sendsms"){