summaryrefslogtreecommitdiff
path: root/www/tagcommondescriptionedit.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/tagcommondescriptionedit.php')
-rw-r--r--www/tagcommondescriptionedit.php2
1 files changed, 1 insertions, 1 deletions
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);
}