summaryrefslogtreecommitdiffstats
path: root/ratings.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-14 18:31:03 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-14 18:31:03 +0000
commitc22b5025d3e77325923937f293c30d85111f5af9 (patch)
tree872749a25099de6404eafcd49f3b97963d769a84 /ratings.php
parent4d7170217da3a9361d2f7ebb135dea77d5372870 (diff)
downloadampache-c22b5025d3e77325923937f293c30d85111f5af9.tar.gz
ampache-c22b5025d3e77325923937f293c30d85111f5af9.tar.bz2
ampache-c22b5025d3e77325923937f293c30d85111f5af9.zip
fixed redirection after applying a rating to an album
Diffstat (limited to 'ratings.php')
-rw-r--r--ratings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratings.php b/ratings.php
index 9ced9b95..09154fe2 100644
--- a/ratings.php
+++ b/ratings.php
@@ -30,7 +30,7 @@ switch ($action) {
case 'set_rating':
$rating = new Rating($_REQUEST['object_id'],$_REQUEST['rating_type']);
$rating->set_rating($_REQUEST['rating']);
- show_confirmation(_("Rating Updated"),_("Your rating for this object has been updated"),"/index.php");
+ show_confirmation(_("Rating Updated"),_("Your rating for this object has been updated"),return_referer());
break;
default: