Index: branches/5.2.x/core/kernel/utility/temp_handler.php =================================================================== diff -u -N -r14244 -r14428 --- branches/5.2.x/core/kernel/utility/temp_handler.php (.../temp_handler.php) (revision 14244) +++ branches/5.2.x/core/kernel/utility/temp_handler.php (.../temp_handler.php) (revision 14428) @@ -1,6 +1,6 @@ Application, 'handleSQLError') ); + $connection =& $this->Application->makeClass( 'kDBConnection', Array (SQL_TYPE, Array (&$this->Application, 'handleSQLError')) ); $connection->debugMode = $this->Application->isDebugMode(); $connection->Connect(SQL_SERVER, SQL_USER, SQL_PASS, SQL_DB, true); }