diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-02-28 05:44:49 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-02-28 05:44:49 +0000 |
commit | 31d5e782dedb0a09b5d73e7bac61dccfe25e73f1 (patch) | |
tree | b46198c3cb0137a3c4d8e4faf99a9022a9d87f88 /lib/class/xmlrpcserver.class.php | |
parent | 4626bc1ff1a2c2a8bc2b37f5aece23a2ee6d9104 (diff) | |
download | ampache-31d5e782dedb0a09b5d73e7bac61dccfe25e73f1.tar.gz ampache-31d5e782dedb0a09b5d73e7bac61dccfe25e73f1.tar.bz2 ampache-31d5e782dedb0a09b5d73e7bac61dccfe25e73f1.zip |
removed ip2int, int2ip custom functions fixed browse issues when adding filters in specific order
Diffstat (limited to 'lib/class/xmlrpcserver.class.php')
-rw-r--r-- | lib/class/xmlrpcserver.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/xmlrpcserver.class.php b/lib/class/xmlrpcserver.class.php index e5f3eff3..6cb08451 100644 --- a/lib/class/xmlrpcserver.class.php +++ b/lib/class/xmlrpcserver.class.php @@ -146,7 +146,7 @@ class xmlRpcServer { debug_event('XMLSERVER','Login Attempt, IP: ' . $_SERVER['REMOTE_ADDR'] . ' Time: ' . $timestamp . ' Hash:' . $encoded_key,'5'); // Convert the IP Address to an int - $ip = ip2int($_SERVER['REMOTE_ADDR']); + $ip = ip2long($_SERVER['REMOTE_ADDR']); // Run the query and return the key's for ACLs of type RPC that would match this IP $sql = "SELECT * FROM `access_list` WHERE `type`='rpc' AND `start` <= '$ip' AND `end` >= '$ip'"; |