From ffee413d2d9bb153dad4efd6b79e6568a73c0bd6 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 28 Sep 2016 12:43:02 +0200 Subject: fix dbescdate() --- include/dba/dba_driver.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/dba/dba_driver.php') 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 +} -- cgit v1.2.3