Index: branches/5.1.x/core/units/users/users_config.php =================================================================== diff -u -N -r13941 -r13962 --- branches/5.1.x/core/units/users/users_config.php (.../users_config.php) (revision 13941) +++ branches/5.1.x/core/units/users/users_config.php (.../users_config.php) (revision 13962) @@ -1,6 +1,6 @@ Array('type' => 'int', 'formatter'=>'kOptionsFormatter', 'options'=>Array(1=>'la_Enabled', 0=>'la_Disabled', 2=>'la_Pending'), 'use_phrases'=>1, 'not_null' => '1','default' => 1), 'Modified' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'), 'dob' => Array('type'=>'int', 'formatter' => 'kDateFormatter', 'default' => null), - 'tz' => Array('type' => 'int','default' => 0), + 'tz' => Array('type' => 'int', 'default' => NULL), 'ip' => Array('type' => 'string','default' => null), 'IsBanned' => Array('type' => 'int','not_null' => 1, 'default' => 0), 'PassResetTime' => Array('type' => 'int','default' => null), @@ -413,7 +413,7 @@ 'UserGroup' => Array ( 'type' => 'int', 'formatter' => 'kOptionsFormatter', 'options_sql' => 'SELECT %1$s FROM ' . TABLE_PREFIX . 'PortalGroup WHERE Enabled = 1 AND FrontRegistration = 1', 'option_key_field' => 'GroupId', 'option_title_field' => 'Name', - 'not_null' => 1, 'default' => 0, + 'default' => 0, ), ),