Details
Description
The city field has been limited to 20 characters. Can we increase this field to 32 characters? 20 seems an odd number and is limiting. It has resulted in in our city data being truncated and potentially there are others with the same issue. For instance, MDL-1572.
While it is easy to increase the limit manually, it requires altering several files and the database table, which makes maintainability over upgrades a challenge.
The Changes Required would be:
---------------------------------------------
These files need to be edited at the line numbers indicated to allow for 32 chars in the city field:
- \login\signup_form.php - line 51
- \user\editlib.php - line 196
- \admin\uploaduser_form.php - line 195
- \lib\moodlelib.php -line 2998
-Also, the database field mdl_user.city needs to be increased from 20 to 32.
Attachments
Issue Links
- will help resolve
-
MDL-1572 Longer string length for city variable
-
- Closed
-