summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2007-02-09 23:49:46 +0000
committerpb1dft <pb1dft@ampache>2007-02-09 23:49:46 +0000
commit9261256943e3ce4453bd974b9e9a3a8b8aac9f22 (patch)
treea42720c200f96b7d9172a01b033f0077338d6cc4 /admin
parent23678d5d79c5fad0f9e32ade11fbf136aab0e3f6 (diff)
downloadampache-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 'admin')
-rw-r--r--admin/users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/users.php b/admin/users.php
index 6ddc7fbd..bb4296a3 100644
--- a/admin/users.php
+++ b/admin/users.php
@@ -150,9 +150,9 @@ switch ($action) {
/* get the user and their history */
$working_user = new User($_REQUEST['user_id']);
if (!isset ($_REQUEST['all'])){
- $history = $temp_user->get_ip_history('',1);
+ $history = $working_user->get_ip_history('',1);
} else {
- $history = $temp_user->get_ip_history('','');
+ $history = $working_user->get_ip_history('','');
}
require (conf('prefix') . '/templates/show_ip_history.inc.php');
break;