aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2011-11-10 00:11:53 +0100
committerSem <sembrestels@riseup.net>2011-11-10 00:11:53 +0100
commitc2dd51263f83815092bdcf29588afd4b84b31e1f (patch)
treeb1ab50c9efad90a8bae71998fabae920c1b0ec43 /actions
parent838229d4ef15607ae60c8fd3e3c37cd4849b376f (diff)
downloadelgg-c2dd51263f83815092bdcf29588afd4b84b31e1f.tar.gz
elgg-c2dd51263f83815092bdcf29588afd4b84b31e1f.tar.bz2
Solved some issues.
Diffstat (limited to 'actions')
-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);
}