fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14396]


From: Nelson Guerra
Subject: [Fmsystem-commits] [14396]
Date: Tue, 17 Nov 2015 23:03:06 +0000

Revision: 14396
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14396
Author:   nelson224
Date:     2015-11-17 23:03:05 +0000 (Tue, 17 Nov 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/frontend/inc/class.uidelegates.inc.php

Modified: branches/dev-syncromind/frontend/inc/class.uidelegates.inc.php
===================================================================
--- branches/dev-syncromind/frontend/inc/class.uidelegates.inc.php      
2015-11-17 23:00:33 UTC (rev 14395)
+++ branches/dev-syncromind/frontend/inc/class.uidelegates.inc.php      
2015-11-17 23:03:05 UTC (rev 14396)
@@ -62,9 +62,8 @@
                        {
                                $account_id = phpgw::get_var('account_id');
                                $success = false;
-                               if($use_fellesdata){
+                               if($use_fellesdata && !empty($account_id)){
                                        $org_units = 
frontend_bofellesdata::get_instance()->get_result_units($GLOBALS['phpgw_info']['user']['account_lid']);
-                                       
                                        //Parameter to delegate access to only 
a single organisational unit
                                        $org_unit_id = 
$this->header_state['selected_org_unit'];
                                        $success = true;
@@ -182,7 +181,7 @@
                        if(!is_numeric($delegateLimit)) $delegateLimit = 3;
                        $error_message = lang('max_x_delegates',$delegateLimit);
                                                
-                       $msglog = 
phpgwapi_cache::session_get('frontend','msgbox');
+                       //$msglog = 
phpgwapi_cache::session_get('frontend','msgbox');
                        phpgwapi_cache::session_clear('frontend','msgbox');
                        
                        $data = array (




reply via email to

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