Index: branches/5.3.x/core/units/logs/email_logs/email_log_eh.php =================================================================== diff -u -N -r15483 -r15578 --- branches/5.3.x/core/units/logs/email_logs/email_log_eh.php (.../email_log_eh.php) (revision 15483) +++ branches/5.3.x/core/units/logs/email_logs/email_log_eh.php (.../email_log_eh.php) (revision 15578) @@ -1,6 +1,6 @@ Application->ConfigValue('EmailLogRotationInterval'); + $rotation_interval = (int)$this->Application->ConfigValue('EmailLogRotationInterval'); - if ( $rotation_interval == '' || $rotation_interval == -1 ) { - // never OR forever + if ( $rotation_interval === -1 ) { + // forever return; }