Browse Source

make the default of identity editing backwards compatible

teepe 23 năm trước cách đây
mục cha
commit
b7e9035946
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/options_personal.php

+ 4 - 0
src/options_personal.php

@@ -46,6 +46,10 @@ function load_optpage_data_personal() {
     /* Build a simple array into which we will build options. */
     $optvals = array();
 
+    if (!isset($edit_identity)) {
+        $edit_identity = TRUE;
+    }
+
     if ($edit_identity || $edit_name) {
         $optvals[SMOPT_GRP_CONTACT][] = array(
             'name'    => 'full_name',