From: cweiske Date: Sat, 31 Oct 2009 10:10:27 +0000 (+0000) Subject: fix E_NOTICE on common description edit page X-Git-Tag: v0.97~216 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=adc00b25bbe5bd4099e58cad57970d5fc65af4b7;p=semanticscuttle.git 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 --- 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); }