diff options
author | pb1dft <pb1dft@ampache> | 2007-02-09 23:49:46 +0000 |
---|---|---|
committer | pb1dft <pb1dft@ampache> | 2007-02-09 23:49:46 +0000 |
commit | 9261256943e3ce4453bd974b9e9a3a8b8aac9f22 (patch) | |
tree | a42720c200f96b7d9172a01b033f0077338d6cc4 /lib/class/user.class.php | |
parent | 23678d5d79c5fad0f9e32ade11fbf136aab0e3f6 (diff) | |
download | ampache-9261256943e3ce4453bd974b9e9a3a8b8aac9f22.tar.gz ampache-9261256943e3ce4453bd974b9e9a3a8b8aac9f22.tar.bz2 ampache-9261256943e3ce4453bd974b9e9a3a8b8aac9f22.zip |
fixed the displaying of the right ip_history with the right user at the right time
Diffstat (limited to 'lib/class/user.class.php')
-rw-r--r-- | lib/class/user.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/user.class.php b/lib/class/user.class.php index 87fa825c..e2f90ede 100644 --- a/lib/class/user.class.php +++ b/lib/class/user.class.php @@ -1063,7 +1063,7 @@ class User { */ function get_ip_history($count='',$distinct='') { - $username = sql_escape($this->username); + $username = sql_escape($this->id); if ($count) { $limit_sql = "LIMIT " . intval($count); |