From: Jure Kajzer Date: Thu, 22 Oct 2009 16:48:43 +0000 (+0000) Subject: Added default value for gender and editfont to avoid Global default invalid message. X-Git-Tag: 1.31.0-rc.0~39176 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=699c9270e0f248615d8d5d80ee3be608158db03f;p=lhc%2Fweb%2Fwiklou.git Added default value for gender and editfont to avoid Global default invalid message. --- diff --git a/includes/Preferences.php b/includes/Preferences.php index 2137f9d861..ef0833eba1 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -198,6 +198,7 @@ class Preferences { $defaultPreferences['gender'] = array( 'type' => 'select', + 'default' => 'male', 'section' => 'personal/info', 'options' => array( wfMsg( 'gender-male' ) => 'male', @@ -660,6 +661,7 @@ class Preferences { $defaultPreferences['editfont'] = array( 'type' => 'select', + 'default' => 'default', 'section' => 'editing/advancedediting', 'label-message' => 'editfont-style', 'options' => array(