1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

Issue #5487 Ban caching and ban query fixes. Unit tests added.

This commit is contained in:
camer0n
2025-05-04 12:08:42 -07:00
parent b7bb3b931e
commit dee6e8fb62
5 changed files with 385 additions and 119 deletions

View File

@@ -364,7 +364,10 @@ class e_admin_log
//---------------------------------------
if(($target_logs & LOG_TO_ROLLING) && $this->_roll_log_active)
{ // Rolling log
if(getperms('0') && e_REQUEST_HTTP === '/e107_admin/admin_log.php') // Don't log while looking at the log.
{
return;
}
// Process source_call info
//---------------------------------------
if(is_numeric($source_call) && ($source_call >= 0))