Commit 5114a378b8d0681fbf0b7eed47c434f7feb046fc

Authored by Neil Blakey-Milner
1 parent 453c5459

Use =& to try work around lost queries


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5540 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
lib/database/dbutil.inc
... ... @@ -32,7 +32,7 @@ class DBUtil {
32 32 function &getDB($db = null) {
33 33 global $default;
34 34 if (is_null($db)) {
35   - $db = $default->_db;
  35 + $db =& $default->_db;
36 36 }
37 37  
38 38 if(!isset($db->_kt_initialized) || !$db->_kt_initialized) {
... ...