aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-09-28 12:43:02 +0200
committerMario Vavti <mario@mariovavti.com>2016-09-28 12:43:02 +0200
commitffee413d2d9bb153dad4efd6b79e6568a73c0bd6 (patch)
tree15e43df6bed36c00f70655e7f5e35b952f9d948a /include
parent80b655fa7eea194c458546edb6c3d534c46eccb9 (diff)
downloadvolse-hubzilla-ffee413d2d9bb153dad4efd6b79e6568a73c0bd6.tar.gz
volse-hubzilla-ffee413d2d9bb153dad4efd6b79e6568a73c0bd6.tar.bz2
volse-hubzilla-ffee413d2d9bb153dad4efd6b79e6568a73c0bd6.zip
fix dbescdate()
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
+}