summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/bookmarkcommondescriptionedit.php2
1 files changed, 1 insertions, 1 deletions
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);
}