1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +02:00

Fix for corrupted page totals due to SEF URLs and shortened array keys. Requires more testing. BACKUP FIRST!

This commit is contained in:
Cameron
2016-01-21 13:36:02 -08:00
parent 1ac5a2af23
commit 39aac804df
8 changed files with 195 additions and 31 deletions

View File

@@ -764,7 +764,7 @@ class e_admin_log
foreach($this->_allMessages as $m)
{
$text .= date('Y-m-d H:i:s', $m['time'])." \t".str_pad($m['dislevel'],10," ",STR_PAD_RIGHT)."\t".strip_tags($m['message'])."\n";
$text .= date('Y-m-d H:i:s', $m['time'])." \t".str_pad($m['loglevel'],10," ",STR_PAD_RIGHT)."\t".strip_tags($m['message'])."\n";
}
$date = ($append == true) ? date('Y-m-d') : date('Y-m-d_H-i-s').'_'.crc32($text);