diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-06-06 01:24:39 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-06-06 01:24:39 +0000 |
commit | 56acdc4b64567461ca153f617e3ec86938369516 (patch) | |
tree | 1208cd4e33c2bfa2e228fe19f27248c856dd14a3 /server | |
parent | bc0d3d581e4bf62e1afda4455612ab25951e0b5f (diff) | |
download | ampache-56acdc4b64567461ca153f617e3ec86938369516.tar.gz ampache-56acdc4b64567461ca153f617e3ec86938369516.tar.bz2 ampache-56acdc4b64567461ca153f617e3ec86938369516.zip |
turn the sajax stuff back into ajax and also commit some broken mpd skipping code yea!
Diffstat (limited to 'server')
-rw-r--r-- | server/ajax.server.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/ajax.server.php b/server/ajax.server.php index fc691045..bb38d7cc 100644 --- a/server/ajax.server.php +++ b/server/ajax.server.php @@ -38,9 +38,9 @@ switch ($action) { init_preferences(); $localplay = init_localplay(); $localplay->connect(); - $function = scrub_in($_GET['cmd']); - $localplay->$function(); - echo $function; + $function = scrub_in($_GET['cmd']); + $value = scrub_in($_GET['value']); + $localplay->$function($value); break; case 'change_play_type': init_preferences(); |