]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Temporal.php
Profile update and some more is now added
[friendica.git] / src / Util / Temporal.php
index 3c898ce4cb61494d8dbe46c73bb28eda0d598938..46bd8bba50871deafc49449891feb330de8ebe70 100644 (file)
@@ -59,7 +59,7 @@ class Temporal
 
                $o = '<select id="timezone_select" name="timezone">';
 
-               usort($timezone_identifiers, [self, 'timezoneCompareCallback']);
+               usort($timezone_identifiers, [__CLASS__, 'timezoneCompareCallback']);
                $continent = '';
                foreach ($timezone_identifiers as $value) {
                        $ex = explode("/", $value);
@@ -127,6 +127,8 @@ class Temporal
         */
        public static function getDateofBirthField($dob)
        {
+               $a = get_app();
+
                list($year, $month, $day) = sscanf($dob, '%4d-%2d-%2d');
 
                if ($dob < '0000-01-01') {