Pārlūkot izejas kodu

make the default of identity editing backwards compatible

teepe 23 gadi atpakaļ
vecāks
revīzija
b7e9035946
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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',