diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/dba/dba_driver.php | 6 |
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 +} |