aboutsummaryrefslogtreecommitdiff
path: root/actions/videolist
diff options
context:
space:
mode:
Diffstat (limited to 'actions/videolist')
-rw-r--r--actions/videolist/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/videolist/delete.php b/actions/videolist/delete.php
index 191d7546c..0b9724c52 100644
--- a/actions/videolist/delete.php
+++ b/actions/videolist/delete.php
@@ -28,7 +28,7 @@ if (!$videolist_item->delete()) {
}
// we can't come back to video url because it's deleted
-if($url != REFERER) {
+if($url != $_SERVER['HTTP_REFERER']) {
forward(REFERER);
}