diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-09-28 12:43:02 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-09-28 12:43:02 +0200 |
commit | ffee413d2d9bb153dad4efd6b79e6568a73c0bd6 (patch) | |
tree | 15e43df6bed36c00f70655e7f5e35b952f9d948a /include/dba/dba_driver.php | |
parent | 80b655fa7eea194c458546edb6c3d534c46eccb9 (diff) | |
download | volse-hubzilla-ffee413d2d9bb153dad4efd6b79e6568a73c0bd6.tar.gz volse-hubzilla-ffee413d2d9bb153dad4efd6b79e6568a73c0bd6.tar.bz2 volse-hubzilla-ffee413d2d9bb153dad4efd6b79e6568a73c0bd6.zip |
fix dbescdate()
Diffstat (limited to 'include/dba/dba_driver.php')
-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 +} |