[eGroupWare-svn] r56038 - /trunk/calendar/inc/class.calendar_boupdate.inc.php

[email protected] Thu, 05 May 2016 16:56:25 -0000
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: nathangray
Date: Thu May  5 18:56:25 2016
New Revision: 56038

URL: http://svn.stylite.de/viewvc/egroupware?rev=56038&view=rev
Log:
Fix fatal error caused by moved Categories

Modified:
    trunk/calendar/inc/class.calendar_boupdate.inc.php

Modified: trunk/calendar/inc/class.calendar_boupdate.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/calendar/inc/class.calendar_boupdate.inc.php?rev=56038&r1=56037&r2=56038&view=diff
==============================================================================
--- trunk/calendar/inc/class.calendar_boupdate.inc.php (original)
+++ trunk/calendar/inc/class.calendar_boupdate.inc.php Thu May  5 18:56:25 2016
@@ -1721,8 +1721,7 @@
 
 		foreach(explode(',',$event['category']) as $cat_id)
 		{
-			list($cat) = $GLOBALS['egw']->categories->return_single($cat_id);
-			$cat_string[] = stripslashes($cat['name']);
+			$cat_string[] = stripslashes(Api\Categories::id2name($cat_id));
 		}
 		$var['category'] = Array(
 			'field'	=> lang('Category'),


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z