]> git.mxchange.org Git - friendica.git/blobdiff - include/uimport.php
merged 2 if() into one as requested by CR
[friendica.git] / include / uimport.php
index 0d7ce5d27abbae5604a5b9cc0f2b3f1564a04c96..4cc5b6c04b3f14d17b87c6c9d254968f4bdd54fc 100644 (file)
@@ -183,8 +183,8 @@ function import_account(App $a, $file) {
                        }\r
                }\r
                if ($contact['uid'] == $olduid && $contact['self'] == '0') {\r
-                       // set contacts 'avatar-date' to "0000-00-00 00:00:00" to let poller to update urls\r
-                       $contact["avatar-date"] = "0000-00-00 00:00:00" ;\r
+                       // set contacts 'avatar-date' to NULL_DATE to let poller to update urls\r
+                       $contact["avatar-date"] = NULL_DATE;\r
 \r
 \r
                        switch ($contact['network']) {\r