Commit 93e783338cbcef02a76944b62a1c5cc95edb59aa
1 parent
20967068
Merged in from DEV trunk...
Some ws updated. KTS-3268 "Logging" Updated. Need to ensure that the logger is actually set Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/branches/3.5.3-Branch@8729 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/database/dbutil.inc
| ... | ... | @@ -67,7 +67,7 @@ class DBUtil { |
| 67 | 67 | $sQuery = $query; |
| 68 | 68 | } |
| 69 | 69 | $res = $db->query($sQuery, $aParams); |
| 70 | - if ($default->queryLog->isDebugEnabled()) | |
| 70 | + if (isset($default->queryLog) && $default->queryLog->isDebugEnabled()) | |
| 71 | 71 | { |
| 72 | 72 | $default->queryLog->debug(DBUtil::lastQuery($db)); |
| 73 | 73 | } | ... | ... |