Index: branches/5.2.x/core/kernel/utility/temp_handler.php =================================================================== diff -u -N -r15144 -r15518 --- branches/5.2.x/core/kernel/utility/temp_handler.php (.../temp_handler.php) (revision 15144) +++ branches/5.2.x/core/kernel/utility/temp_handler.php (.../temp_handler.php) (revision 15518) @@ -1,6 +1,6 @@ Application->makeClass( 'kDBConnection', Array (SQL_TYPE, Array (&$this->Application, 'handleSQLError')) ); + $connection = $this->Application->makeClass( 'kDBConnection', Array (SQL_TYPE, Array ($this->Application, 'handleSQLError')) ); /* @var $connection kDBConnection */ $connection->debugMode = $this->Application->isDebugMode();