aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-04 15:29:10 -0800
committerMario Vavti <mario@mariovavti.com>2018-03-05 08:57:35 +0100
commitaf46c192bf7c217b7348082cbcacd3ea4659fae3 (patch)
treeff2ce240788fd1c01278c26e466b92492c0f7180 /include/channel.php
parent77a8a2b9ac999eede28169420fb44ada95fa4644 (diff)
downloadvolse-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/channel.php')
-rw-r--r--include/channel.php1
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');