Index: branches/5.2.x/core/units/logs/email_logs/email_log_eh.php =================================================================== diff -u -N -r15230 -r15552 --- branches/5.2.x/core/units/logs/email_logs/email_log_eh.php (.../email_log_eh.php) (revision 15230) +++ branches/5.2.x/core/units/logs/email_logs/email_log_eh.php (.../email_log_eh.php) (revision 15552) @@ -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; }