aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-31 10:10:27 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-31 10:10:27 +0000
commitadc00b25bbe5bd4099e58cad57970d5fc65af4b7 (patch)
tree1e7775d0851cba69765c7fea3b2537c79f34aae6 /www
parentc3f2dee648326d050ed8695de889cc6f4952b110 (diff)
downloadsemanticscuttle-adc00b25bbe5bd4099e58cad57970d5fc65af4b7.tar.gz
semanticscuttle-adc00b25bbe5bd4099e58cad57970d5fc65af4b7.tar.bz2
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
Diffstat (limited to 'www')
-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);
}