maildisplay = 0

October 29, 2008 – 11:49

Problems with setting default maildisplay to hidden. I changed it in editlib.php of user but when a users signs up via the normal signup form, the value is not given so the database default is used.

Changed database default value to 0 and now everything should be fine. That is quite a change however, changing the database schema. Will check for a solution for that.

Solution is to run the following SQL statement on the database:

ALTER TABLE mdl_user ALTER COLUMN maildisplay SET DEFAULT 0;

Sorry, comments for this entry are closed at this time.