Fix temp_link_id to respect egw_data

This commit is contained in:
Hadi Nategh 2015-04-16 08:23:52 +00:00
parent ed1c1daf4a
commit 1c6242741b

View File

@ -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']);
}
/**