From 9eeabcf953f50e1aafb8c84c7f144b84d6236b2e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 12 Jan 2015 07:17:31 +0000 Subject: [PATCH] PHP Fatal error: Access to undeclared static property: egw_vfs::$mime_alias_map --- phpgwapi/inc/class.egw_vfs.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_vfs.inc.php b/phpgwapi/inc/class.egw_vfs.inc.php index 0f68c43af8..711140689a 100644 --- a/phpgwapi/inc/class.egw_vfs.inc.php +++ b/phpgwapi/inc/class.egw_vfs.inc.php @@ -1134,7 +1134,7 @@ class egw_vfs extends vfs_stream_wrapper if (!($img=common::image('etemplate',$icon='mime'.$size.'_'.$mime_full)) && // check mime-alias-map before falling back to more generic icons !(isset(mime_magic::$mime_alias_map[$mime_type]) && - ($img=common::image('etemplate',$icon='mime'.$size.'_'.str_replace('/','_',self::$mime_alias_map[$mime_full])))) && + ($img=common::image('etemplate',$icon='mime'.$size.'_'.str_replace('/','_',mime_magic::$mime_alias_map[$mime_full])))) && !($img=common::image('etemplate',$icon='mime'.$size.'_'.$mime_part))) { $img = common::image('etemplate',$icon='mime'.$size.'_unknown');