]> git.mxchange.org Git - friendica.git/blobdiff - include/diaspora.php
add the module to the page title
[friendica.git] / include / diaspora.php
index 757cf1a6bade158c8a827da9f1a5ed72a7e5f340..c97abc28cdec81b8049f5cf401cc39bee7b2b3b7 100644 (file)
@@ -2421,7 +2421,8 @@ function diaspora_profile($importer,$xml,$msg) {
 
        $birthday = str_replace('1000','1901',$birthday);
 
-       $birthday = datetime_convert('UTC','UTC',$birthday,'Y-m-d');
+       if ($birthday != "")
+               $birthday = datetime_convert('UTC','UTC',$birthday,'Y-m-d');
 
        // this is to prevent multiple birthday notifications in a single year
        // if we already have a stored birthday and the 'm-d' part hasn't changed, preserve the entry, which will preserve the notify year