apply the same fix to our own DB as we did for hubzilla master and redmatrix.
This commit is contained in:
parent
4663278f52
commit
44a2cc872c
@ -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
|
||||
|
Reference in New Issue
Block a user