apply the same fix to our own DB as we did for hubzilla master and redmatrix.

This commit is contained in:
redmatrix 2016-09-26 19:28:04 -07:00
parent 4663278f52
commit 44a2cc872c

View File

@ -262,6 +262,9 @@ function dbg($state) {
*/
function dbesc($str) {
if(is_null_date($str))
$str = NULL_DATE;
if(\DBA::$dba && \DBA::$dba->connected)
return(\DBA::$dba->escape($str));
else