bugfix: unable to reset profile fields to defaults in admin/profs by emptying the textarea
This commit is contained in:
@@ -1897,6 +1897,7 @@ function is_public_profile() {
|
||||
function get_profile_fields_basic($filter = 0) {
|
||||
|
||||
$profile_fields_basic = (($filter == 0) ? get_config('system','profile_fields_basic') : null);
|
||||
|
||||
if(! $profile_fields_basic)
|
||||
$profile_fields_basic = array('fullname','pdesc','chandesc','comms','gender','dob','dob_tz','region','country_name','marital','sexual','homepage','hometown','keywords','about','contact');
|
||||
|
||||
|
Reference in New Issue
Block a user