From 9340fde0faefa1f8ce64320f194829761c9b7262 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 16 Jan 2010 11:13:35 +0000 Subject: [PATCH] fix E_NOTICE git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@596 b3834d28-1941-0410-a4f8-b48e95affb8f --- www/tagcommondescriptionedit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/tagcommondescriptionedit.php b/www/tagcommondescriptionedit.php index 9e4cedd..f6e4592 100644 --- a/www/tagcommondescriptionedit.php +++ b/www/tagcommondescriptionedit.php @@ -70,7 +70,7 @@ if (POST_CONFIRM) { } else { $tplVars['subtitle'] = T_('Edit Tag Common Description') .': '. $tag; $tplVars['formaction'] = $_SERVER['SCRIPT_NAME'] .'/'. $tag; - $tplVars['referrer'] = $_SERVER['HTTP_REFERER']; + $tplVars['referrer'] = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; $tplVars['tag'] = $tag; $tplVars['description'] = $cdservice->getLastTagDescription($tag); }