aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/dba/dba_driver.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/dba/dba_driver.php b/include/dba/dba_driver.php
index 529cc003f..852dc16af 100755
--- a/include/dba/dba_driver.php
+++ b/include/dba/dba_driver.php
@@ -280,8 +280,8 @@ function dbunescbin($str) {
function dbescdate($date) {
if(is_null_date($date))
- return $dba->escape(NULL_DATE);
- return $dba->escape($date);
+ return \DBA::$dba->escape(NULL_DATE);
+ return \DBA::$dba->escape($date);
}
function db_quoteinterval($txt) {
@@ -432,4 +432,4 @@ function db_logger($s,$level = LOGGER_NORMAL,$syslog = LOG_INFO) {
logger($s,$level,$syslog);
\DBA::$logging = false;
\DBA::$dba->debug = $saved;
-} \ No newline at end of file
+}