R35320 - /trunk/phpgwapi/inc/class.categories.inc.php

Author: nathangray
New Revision: 35320

URL: http://svn.stylite.de/viewvc/egroupware?rev=35320&view=rev
Log:
Fix for editing private categories

Modified:
trunk/phpgwapi/inc/class.categories.inc.php

Modified: trunk/phpgwapi/inc/class.categories.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/phpgwapi/inc/class.categories.inc.php?rev=35320&r1=35319&r2=35320&view=diff

— trunk/phpgwapi/inc/class.categories.inc.php (original)
+++ trunk/phpgwapi/inc/class.categories.inc.php Wed Jun 15 16:20:43 2011
@@ -513,7 +513,7 @@
// Load the application grants
if ($category[‘appname’] == $this->app_name && is_null($this->grants))
{

  •   	$this->grants = $GLOBALS['egw']->acl->get_grants($this->app_name);
    
  •   	$this->grants = $GLOBALS['egw']->acl->get_grants($this->app_name,true);
      }
    
      // Check for ACL granted access, the self::GLOBAL_ACCOUNT user must not get access by ACL to keep old behaviour
    

@@ -693,7 +693,7 @@
‘cat_data’ => is_array($values[‘data’]) ? serialize($values[‘data’]) : $values[‘data’],
‘cat_parent’ => $values[‘parent’],
‘cat_access’ => $values[‘access’],

  •   	'cat_owner' => $values['owner'],
    
  •   	'cat_owner' => isset($values['owner']) ? $values['owner'] : $this->account_id,
      	'cat_main' => $values['main'],
      	'cat_level' => $values['level'],
      	'last_mod' => time(),
    

EditLive Enterprise is the world’s most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs