summaryrefslogtreecommitdiffstats
path: root/templates/show_ip_history.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-02-09 23:29:20 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-02-09 23:29:20 +0000
commit23678d5d79c5fad0f9e32ade11fbf136aab0e3f6 (patch)
tree4e48886cae8dac8ac8cd6a9c29916a6e768cd7f4 /templates/show_ip_history.inc.php
parentdf0e3a9e2c55406e45741428bed06130d3f54aa1 (diff)
downloadampache-23678d5d79c5fad0f9e32ade11fbf136aab0e3f6.tar.gz
ampache-23678d5d79c5fad0f9e32ade11fbf136aab0e3f6.tar.bz2
ampache-23678d5d79c5fad0f9e32ade11fbf136aab0e3f6.zip
fixed ip history to work with the new id method of referencing users
Diffstat (limited to 'templates/show_ip_history.inc.php')
-rw-r--r--templates/show_ip_history.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/show_ip_history.inc.php b/templates/show_ip_history.inc.php
index 6c15726f..0a204587 100644
--- a/templates/show_ip_history.inc.php
+++ b/templates/show_ip_history.inc.php
@@ -20,12 +20,12 @@
*/
?>
-<?php show_box_top($temp_user->fullname . ' ' . _('IP History')); ?>
+<?php show_box_top($working_user->fullname . ' ' . _('IP History')); ?>
<div class="text-action">
<?php if (isset($_REQUEST['all'])){ ?>
- <a href="<?php echo conf('web_path')?>/admin/users.php?action=show_ip_history&user_id=<?php echo $temp_user->username?>"><?php echo _('Show Unique'); ?>...</a>
+ <a href="<?php echo conf('web_path')?>/admin/users.php?action=show_ip_history&user_id=<?php echo $working_user->id?>"><?php echo _('Show Unique'); ?>...</a>
<?php }else{ ?>
- <a href="<?php echo conf('web_path')?>/admin/users.php?action=show_ip_history&user_id=<?php echo $temp_user->username?>&all"><?php echo _('Show All'); ?>...</a>
+ <a href="<?php echo conf('web_path')?>/admin/users.php?action=show_ip_history&user_id=<?php echo $working_user->id?>&all"><?php echo _('Show All'); ?>...</a>
<?php }?>
</div>
<table border="0">