浏览代码

make the default of identity editing backwards compatible

teepe 23 年之前
父节点
当前提交
b7e9035946
共有 1 个文件被更改,包括 4 次插入0 次删除
  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',