core

Ticket #46 (closed Bug: fixed)

Opened 5 months ago

Last modified 5 months ago

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

Changed 5 months ago by markwest

  • owner set to markwest
  • status changed from new to accepted

Changed 5 months ago by markwest

  • status changed from accepted to closed
  • version set to 1.0.0
  • resolution set to fixed

Fixed in revision [24409].

-Mark

Note: See TracTickets for help on using tickets.