Index: branches/5.3.x/core/units/helpers/mailbox_helper.php =================================================================== diff -u -N -r15483 -r16226 --- branches/5.3.x/core/units/helpers/mailbox_helper.php (.../mailbox_helper.php) (revision 15483) +++ branches/5.3.x/core/units/helpers/mailbox_helper.php (.../mailbox_helper.php) (revision 16226) @@ -1,6 +1,6 @@ ExtractRecipientEmail($this->headers['from']); $good['fromname'] = $esender->ExtractRecipientName($this->headers['from'], $good['fromemail']); - // Get the list of recipients - if (!$verify_callback[0]->$verify_callback[1]($callback_params)) { - // error: mail is propably spam + // Get the list of recipients. + if ( !call_user_func($verify_callback, $callback_params) ) { + // Error: mail is probably spam. return false; } @@ -356,7 +356,7 @@ 'Size' => strlen($message), ); - return $process_callback[0]->$process_callback[1]($callback_params, $fields_hash); + return call_user_func($process_callback, $callback_params, $fields_hash); } /** @@ -492,4 +492,4 @@ $parts['headers'] = $decoded->headers; // headers of next parts overwrite previous part headers } - } \ No newline at end of file + }