summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-20 15:16:28 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-20 15:16:28 +0000
commitd00617752f4f558bcaf3f3b0200455feb8dfcb8b (patch)
tree41628dcfaec008afc1ff232f4332fb31fc938908 /modules
parent2b94dfeefacbca8ade82036f0795735671a1e862 (diff)
downloadampache-d00617752f4f558bcaf3f3b0200455feb8dfcb8b.tar.gz
ampache-d00617752f4f558bcaf3f3b0200455feb8dfcb8b.tar.bz2
ampache-d00617752f4f558bcaf3f3b0200455feb8dfcb8b.zip
wups
Diffstat (limited to 'modules')
-rw-r--r--modules/localplay/shoutcast.controller.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/localplay/shoutcast.controller.php b/modules/localplay/shoutcast.controller.php
index ac5cb592..92a5083e 100644
--- a/modules/localplay/shoutcast.controller.php
+++ b/modules/localplay/shoutcast.controller.php
@@ -214,10 +214,10 @@ class AmpacheShoutCast extends localplay_controller {
public function update_instance($uid,$data) {
$uid = Dba::escape($uid);
- $host = Dba::escape($data['pid']);
- $port = Dba::escape($data['playlist']);
+ $pid = Dba::escape($data['pid']);
+ $playlist = Dba::escape($data['playlist']);
$name = Dba::escape($data['name']);
- $pass = Dba::escape($data['local_root']);
+ $local_root = Dba::escape($data['local_root']);
$sql = "UPDATE `localplay_shoutcast` SET `pid`='$pid', `playlist`='$playlist', `name`='$name', `local_root`='$local_root' WHERE `id`='$uid'";
$db_results = Dba::query($sql);