diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-04 15:29:10 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-03-04 15:29:10 -0800 |
commit | be6619d9c06a31fa211c6200aad377d94c1fd0b5 (patch) | |
tree | d4c1f04fe860e6de45f0451d2d63c07258db553b /include/channel.php | |
parent | 14f701f7fc20104520a3837c6e6c359dfa0161f7 (diff) | |
download | volse-hubzilla-be6619d9c06a31fa211c6200aad377d94c1fd0b5.tar.gz volse-hubzilla-be6619d9c06a31fa211c6200aad377d94c1fd0b5.tar.bz2 volse-hubzilla-be6619d9c06a31fa211c6200aad377d94c1fd0b5.zip |
bugfix: unable to reset profile fields to defaults in admin/profs by emptying the textarea
Diffstat (limited to 'include/channel.php')
-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'); |