Bug#329672: freeradius-dialupadmin: Error on Statistics page
On Thu, Sep 22, 2005 at 06:07:52PM +0200, Tobias wrote: > Package: freeradius-dialupadmin > Version: 1.0.5-1 > Severity: normal > Hi, > there's a mistake in user_admin.php3 of dialup_admin. > Right now, it's displaying the Download value twice on the Online Users > page. Once as human-readable value under Upload and once as raw bytes > under Download. > I found the glitch on line 196. >if ($lastlog_input) > $lastlog_input = bytes2str($lastlog_input); >else > $lastlog_input = 'not available'; >if ($lastlog_output) >> $lastlog_input = bytes2str($lastlog_output); >else > $lastlog_output = 'not available'; > Of course it's got to be $lastlog_output. Good catch. This is trivial to fix, but a building problem has just reared its head, so it may take a little while before a fixed upload appears. Sorry for the inconvinience. -- Paul "TBBle" Hampson, [EMAIL PROTECTED] 8th year CompSci/Asian Studies student, ANU Shorter .sig for a more eco-friendly paperless office. pgpvG5geQYNHc.pgp Description: PGP signature
Bug#329672: freeradius-dialupadmin: Error on Statistics page
Package: freeradius-dialupadmin Version: 1.0.5-1 Severity: normal Hi, there's a mistake in user_admin.php3 of dialup_admin. Right now, it's displaying the Download value twice on the Online Users page. Once as human-readable value under Upload and once as raw bytes under Download. I found the glitch on line 196. if ($lastlog_input) $lastlog_input = bytes2str($lastlog_input); else $lastlog_input = 'not available'; if ($lastlog_output) > $lastlog_input = bytes2str($lastlog_output); else $lastlog_output = 'not available'; Of course it's got to be $lastlog_output. cheers, tobias -- System Information: Debian Release: testing/unstable Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13-kanotix-8 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages freeradius-dialupadmin depends on: ii apache [httpd]1.3.33-8 versatile, high-performance HTTP s ii apache2-mpm-prefork [httpd] 2.0.54-5 traditional model for Apache2 ii php4 4:4.4.0-2 server-side, HTML-embedded scripti Versions of packages freeradius-dialupadmin recommends: ii perl 5.8.7-5Larry Wall's Practical Extraction -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]