koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/C4 Auth.pm [rel_2_2]


From: Ryan Higgins
Subject: [Koha-cvs] koha/C4 Auth.pm [rel_2_2]
Date: Fri, 04 May 2007 19:28:38 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Ryan Higgins <rych>     07/05/04 19:28:38

Modified files:
        C4             : Auth.pm 

Log message:
        undo haspermission() change.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Auth.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.36.2.24&r2=1.36.2.25

Patches:
Index: Auth.pm
===================================================================
RCS file: /sources/koha/koha/C4/Auth.pm,v
retrieving revision 1.36.2.24
retrieving revision 1.36.2.25
diff -u -b -r1.36.2.24 -r1.36.2.25
--- Auth.pm     4 May 2007 19:17:59 -0000       1.36.2.24
+++ Auth.pm     4 May 2007 19:28:38 -0000       1.36.2.25
@@ -608,10 +608,9 @@
     }
     return $flags if $flags->{superlibrarian};
     foreach (keys %$flagsrequired) {
-#              return $flags if $flags->{$_};
-               return 0 unless $flags->{$_};
+               return $flags if $flags->{$_};
     }
-    return $flags;
+    return 0;
 }
 
 sub getborrowernumber {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]