From 2198d485d5b406f3f007f5c0146b275fb8272326 Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Thu, 23 Feb 2006 16:16:17 +0000 Subject: [PATCH] Fix notice when image is missing git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10819 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/util_global.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/util_global.php b/templates/util_global.php index 9c8f3912..62ce4309 100644 --- a/templates/util_global.php +++ b/templates/util_global.php @@ -41,7 +41,7 @@ function getIcon($icon_theme_path, $icon_name, $text_icon, $alt_text='', $w=NULL // If we found an icon, build an img tag to display it. If we didn't // find an image, we will revert back to the text icon. - if (!is_null($icon_path)) { + if (isset($icon_path) && !is_null($icon_path)) { $icon = '