fixed log_last_modified trigger and getlogs sql
This commit is contained in:
@@ -323,7 +323,7 @@ class cache
|
||||
INNER JOIN `user` ON `user`.`user_id` = `cache_logs`.`user_id`
|
||||
LEFT JOIN `cache_rating` ON `cache_logs`.`cache_id`=`cache_rating`.`cache_id` AND `cache_logs`.`user_id`=`cache_rating`.`user_id`
|
||||
".$addjoin."
|
||||
WHERE `cache_logs`.`cache_id`='&1'".$addwhere."
|
||||
WHERE `cache_logs`.`cache_id`='&1'
|
||||
ORDER BY `cache_logs`.`date` DESC, `cache_logs`.`Id` DESC LIMIT &2, &3", $cacheid, $start+0, $count+0);
|
||||
|
||||
$logs = array();
|
||||
|
||||
Reference in New Issue
Block a user