mirror of
https://github.com/e107inc/e107.git
synced 2025-01-18 05:09:05 +01:00
To preserve the good sorting of dates
For days with one or two digits, the stats of the website status window were not well ordered
This commit is contained in:
parent
ad0bc1376d
commit
be3d10b493
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user