1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Merge pull request #1352 from OTroccaz/Stats-and-dates

To preserve the good sorting of dates
This commit is contained in:
Cameron
2016-02-13 14:56:33 -08:00

View File

@@ -764,6 +764,7 @@ class adminstyle_infopanel
foreach($array as $key => $value)
{
extract($value);
$log_id = substr($log_id, 0, 4).'-'.substr($log_id, 5, 2).'-'.str_pad(substr($log_id, 8), 2, '0', STR_PAD_LEFT);
if(is_array($log_data)) {
$entries[0] = $log_data['host'];
$entries[1] = $log_data['date'];