diff options
author | friendica <info@friendica.com> | 2014-11-22 12:26:33 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-22 12:26:33 -0800 |
commit | 86b6861aaeec44d4cc9c0e180915dae7fcaf6a97 (patch) | |
tree | a4a126cf558d7edad376135f57a4171589d70e18 /include/dba/dba_driver.php | |
parent | b16f93883077a3637d055a4c70a28ef0c994efec (diff) | |
parent | ab5bf1b7d69f4027f595eef56cf4d99207b8b46e (diff) | |
download | volse-hubzilla-86b6861aaeec44d4cc9c0e180915dae7fcaf6a97.tar.gz volse-hubzilla-86b6861aaeec44d4cc9c0e180915dae7fcaf6a97.tar.bz2 volse-hubzilla-86b6861aaeec44d4cc9c0e180915dae7fcaf6a97.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'include/dba/dba_driver.php')
-rwxr-xr-x | include/dba/dba_driver.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dba/dba_driver.php b/include/dba/dba_driver.php index 1bb45b06d..a62a5e6e2 100755 --- a/include/dba/dba_driver.php +++ b/include/dba/dba_driver.php @@ -341,6 +341,8 @@ function dbesc_array_cb(&$item, $key) { if(is_string($item)) { if($item == '0000-00-00 00:00:00' && ACTIVE_DBTYPE == DBTYPE_POSTGRES) $item = '0001-01-01 00:00:00'; + else if($item == '0001-01-01 00:00:00' && ACTIVE_DBTYPE == DBTYPE_MYSQL) + $item = '0000-00-00 00:00:00'; $item = dbesc($item); } } |