fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [8230] typo


From: Sigurd Nes
Subject: [Fmsystem-commits] [8230] typo
Date: Fri, 02 Dec 2011 08:06:08 +0000

Revision: 8230
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8230
Author:   sigurdne
Date:     2011-12-02 08:06:07 +0000 (Fri, 02 Dec 2011)
Log Message:
-----------
typo

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.acl.inc.php

Modified: trunk/phpgwapi/inc/class.acl.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.acl.inc.php        2011-12-02 07:59:49 UTC (rev 
8229)
+++ trunk/phpgwapi/inc/class.acl.inc.php        2011-12-02 08:06:07 UTC (rev 
8230)
@@ -1321,10 +1321,10 @@
                */
                public function get_grants($app = '', $location = '')
                {
-                       $grant_rights = phpgwapi_cache::session_get('phpgwapi', 
"get_grants_type_{$app}_{$location}");
-                       if ( !is_null($grants) )
+                       $grant_rights = phpgwapi_cache::session_get('phpgwapi', 
"get_grants_{$app}_{$location}");
+                       if ( !is_null($grant_rights) )
                        {
-                               return $grants; // nothing more to do
+                               return $grant_rights; // nothing more to do
                        }
 
                        $grant_rights   = $this->get_grants_type($app, 
$location, 0);
@@ -1343,7 +1343,7 @@
                                        }
                                }
                        }
-                       phpgwapi_cache::session_set('phpgwapi', 
"get_grants_type_{$app}_{$location}_{$mask}", $grant_rights);
+                       phpgwapi_cache::session_set('phpgwapi', 
"get_grants_{$app}_{$location}", $grant_rights);
                        return $grant_rights;
                }
                /**




reply via email to

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