From 1c6242741bbdbfd1e4262de0bdb6ea5609e80258 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 16 Apr 2015 08:23:52 +0000 Subject: [PATCH] Fix temp_link_id to respect egw_data --- phpgwapi/inc/class.egw_link.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 89dc3201b1..a4ce27ac6b 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -434,7 +434,7 @@ class egw_link extends solink */ static function temp_link_id($app,$id) { - return $app.':'.($app != self::VFS_APPNAME && $app != self::VFS_LINK ? $id : $id['name']); + return $app.':'.(!in_array($app, array(self::VFS_APPNAME,self::VFS_LINK, self::DATA_APPNAME)) ? $id : $id['name']); } /**