From e8c47868795a132eb9a9f08968433b99b2cb3d76 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 2 Jun 2010 21:36:16 +0000 Subject: [PATCH] using framework->template_dir, instead of hardcoded phpgwapi based one --- phpgwapi/inc/class.common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; }