]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Move NULL_DATE from boot.php to DBA::NULL_DATETIME
[friendica.git] / src / Model / Profile.php
index 4de49022cb1fd0bf8743e3fbdb9c7e4be4c38959..53b98fb625ab636b6ae1bdc479663437c84b8876 100644 (file)
@@ -774,7 +774,7 @@ class Profile
                                $profile['marital']['with'] = $a->profile['with'];
                        }
 
-                       if (strlen($a->profile['howlong']) && $a->profile['howlong'] >= NULL_DATE) {
+                       if (strlen($a->profile['howlong']) && $a->profile['howlong'] >= DBA::NULL_DATETIME) {
                                $profile['howlong'] = Temporal::getRelativeDate($a->profile['howlong'], L10n::t('for %1$d %2$s'));
                        }