]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
fix E_NOTICE on common description edit page
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sat, 31 Oct 2009 10:10:27 +0000 (10:10 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sat, 31 Oct 2009 10:10:27 +0000 (10:10 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@481 b3834d28-1941-0410-a4f8-b48e95affb8f

www/bookmarkcommondescriptionedit.php

index 0cd46d95cffe90f02d86d8cd53ebad757356dde1..6e39a9a07dbe10bf4fbef7d5e2e83c39ba1fcf8f 100644 (file)
@@ -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);
 }