Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6988
UpdateProfile_patch.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 11:12 PM
2014-11-21 23:12:26 (UTC+0)
Size
842 B
Referenced Files
None
Subscribers
None
UpdateProfile_patch.patch
View Options
--- SpecialUpdateProfile_old.php 2010-11-05 16:50:26.000000000 -0700
+++ SpecialUpdateProfile.php 2010-11-05 16:54:11.000000000 -0700
@@ -230,6 +230,8 @@
$month = $dob[0];
$day = $dob[1];
$birthday_date = $year . '-' . $month . '-' . $day;
+ } else {
+ $birthday_date = "";
}
return ( $birthday_date );
}
@@ -241,6 +243,9 @@
$month = $dob[1];
$day = $dob[2];
$birthday_date = $month . '/' . $day; // . '/' . $year;
+ } else {
+ // Say nothing
+ $birthday_date = "";
}
return $birthday_date;
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6525
Default Alt Text
UpdateProfile_patch.patch (842 B)
Attached To
Mode
T27805: Patch to suppress warnings in formatBirthday() and another function in SpecialUpdateProfile.php
Attached
Detach File
Event Timeline
Log In to Comment