]> git.mxchange.org Git - friendica.git/blobdiff - include/datetime.php
The CSS code for shared messages is moved from "vier" to the global.css, so that...
[friendica.git] / include / datetime.php
index efcfa0a177eb8319e8feb6cd64033962efea333d..3ad9ea3a107b3ca35b0f0ac253b18414ae7d9c89 100644 (file)
@@ -19,7 +19,7 @@ if(! function_exists('select_timezone')) {
 function select_timezone($current = 'America/Los_Angeles') {
 
        $timezone_identifiers = DateTimeZone::listIdentifiers();
-       
+
        $o ='<select id="timezone_select" name="timezone">';
 
        usort($timezone_identifiers, 'timezone_cmp');
@@ -487,11 +487,11 @@ function update_contact_birthdays() {
                                dbesc('birthday'),
                                intval(0)
                        );
-                       
+
 
                        // update bdyear
 
-                       q("UPDATE `contact` SET `bdyear` = '%s', `bd` = '%s' WHERE `uid` = %d AND `id` = %d LIMIT 1",
+                       q("UPDATE `contact` SET `bdyear` = '%s', `bd` = '%s' WHERE `uid` = %d AND `id` = %d",
                                dbesc(substr($nextbd,0,4)),
                                dbesc($nextbd),
                                intval($rr['uid']),