Ticket #46 (closed Bug: fixed)
Linux Stats not collected (and not displayed correctly)
| Reported by: | jami | Owned by: | markwest |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0.1 |
| Component: | Version: | 1.0.0 | |
| Keywords: | Cc: |
Description
Stats/pnuserapi.php
line 112
switch ($browserinfo->_browser_info['os']) {
case 'linix':
$os = 'Linux';
break;
should be
switch ($browserinfo->_browser_info['os']) {
case 'linux':
$os = 'Linux';
break;
line 514
case 'Linux':
$os['linux'][] = $count;
$percent = substr(100 * $count / $total, 0, 5);
$os['linux'][1] = !empty($percent) ? $percent:0;
break;
should be
case 'Linux':
$os['linux'][0] = $count;
$percent = substr(100 * $count / $total, 0, 5);
$os['linux'][1] = !empty($percent) ? $percent:0;
break;
Change History
Note: See
TracTickets for help on using
tickets.
