diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-04 15:29:10 -0800 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-03-05 08:57:35 +0100 |
commit | af46c192bf7c217b7348082cbcacd3ea4659fae3 (patch) | |
tree | ff2ce240788fd1c01278c26e466b92492c0f7180 /include | |
parent | 77a8a2b9ac999eede28169420fb44ada95fa4644 (diff) | |
download | volse-hubzilla-af46c192bf7c217b7348082cbcacd3ea4659fae3.tar.gz volse-hubzilla-af46c192bf7c217b7348082cbcacd3ea4659fae3.tar.bz2 volse-hubzilla-af46c192bf7c217b7348082cbcacd3ea4659fae3.zip |
bugfix: unable to reset profile fields to defaults in admin/profs by emptying the textarea
Diffstat (limited to 'include')
-rw-r--r-- | include/channel.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/channel.php b/include/channel.php index a8ddfa978..204c1e64f 100644 --- a/include/channel.php +++ b/include/channel.php @@ -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'); |