From adc00b25bbe5bd4099e58cad57970d5fc65af4b7 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 31 Oct 2009 10:10:27 +0000 Subject: fix E_NOTICE on common description edit page git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@481 b3834d28-1941-0410-a4f8-b48e95affb8f --- www/bookmarkcommondescriptionedit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/bookmarkcommondescriptionedit.php b/www/bookmarkcommondescriptionedit.php index 0cd46d9..6e39a9a 100644 --- a/www/bookmarkcommondescriptionedit.php +++ b/www/bookmarkcommondescriptionedit.php @@ -70,7 +70,7 @@ if (POST_CONFIRM) { $tplVars['subtitle'] = T_('Edit Bookmark Common Description') .': '. $bkm['bAddress']; $tplVars['formaction'] = $_SERVER['SCRIPT_NAME'] .'/'. $hash; - $tplVars['referrer'] = $_SERVER['HTTP_REFERER']; + $tplVars['referrer'] = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; $tplVars['hash'] = $hash; $tplVars['description'] = $cdservice->getLastBookmarkDescription($hash); } -- cgit v1.2.3