Index: branches/5.3.x/core/kernel/db/db_connection.php =================================================================== diff -u -N -r15956 -r16226 --- branches/5.3.x/core/kernel/db/db_connection.php (.../db_connection.php) (revision 15956) +++ branches/5.3.x/core/kernel/db/db_connection.php (.../db_connection.php) (revision 16226) @@ -1,6 +1,6 @@ errorHandler)) { - $func = $this->errorHandler[1]; - $ret = $this->errorHandler[0]->$func($this->errorCode, $this->errorMessage, $sql); - } - else { - $func = $this->errorHandler; - $ret = $func($this->errorCode, $this->errorMessage, $sql); - } - - return $ret; + return call_user_func($this->errorHandler, $this->errorCode, $this->errorMessage, $sql); } /**