diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index b459ff2fd3..1439d8b5bb 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -743,7 +743,7 @@ class common */ static function find_image($appname,$image) { - if ($appname != 'phpgwapi') + if ($appname == 'phpgwapi') { $imagedir = $GLOBALS['egw']->framework->template_dir.'/images'; }