Index: includes/database/database.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/database/database.inc,v
retrieving revision 1.107
diff -u -p -r1.107 database.inc
--- includes/database/database.inc	25 Mar 2010 10:38:45 -0000	1.107
+++ includes/database/database.inc	25 Mar 2010 13:52:13 -0000
@@ -984,12 +984,12 @@ abstract class DatabaseConnection extend
     $logging_callback = $logging['callback'];
 
     // Log the failed rollback.
-    $logging_callback('database', 'Explicit rollback failed: not supported on active connection.', array(), $logging['error_severity']);
+    call_user_func($logging_callback, 'database', 'Explicit rollback failed: not supported on active connection.', array(), $logging['error_severity']);
 
     // Play back the logged errors to the specified logging callback post-
     // rollback.
     foreach ($this->rollbackLogs as $log_item) {
-      $logging_callback($log_item['type'], $log_item['message'], $log_item['variables'], $log_item['severity'], $log_item['link']);
+      call_user_func($logging_callback, $log_item['type'], $log_item['message'], $log_item['variables'], $log_item['severity'], $log_item['link']);
     }
 
     // Reset the error logs.
