diff --git a/common.inc.php b/common.inc.php index ea1acf98..4c2f5a68 100644 --- a/common.inc.php +++ b/common.inc.php @@ -369,6 +369,7 @@ function send_header($title = '', $nav = null, $icon = null, $titletranslated = + @@ -683,6 +684,7 @@ function send_header($title = '', $nav = null, $icon = null, $titletranslated = + diff --git a/user_personal.php b/user_personal.php index 86491ded..3a009047 100644 --- a/user_personal.php +++ b/user_personal.php @@ -63,7 +63,7 @@ $user_personal_fields = array( 'fax' => array('name' => 'Fax', 'regexp' => '/^[1-9][0-9]{2}-?[1-9][0-9]{2}-?[0-9]{4}$/', 'format' => "'NNN-NNN-NNNN' OR 'NNNNNNNNNN'"), - 'postalcode' => array('name' => $config['postalzip'], + 'postalcode' => array('id' => $config['postalzip'], 'name' => $config['postalzip'], 'regexp' => '/^(([A-Z][0-9][A-Z]( )?[0-9][A-Z][0-9])|([0-9]{5}))$/i', 'format' => "'ANA NAN' or 'ANANAN' or 'NNNNN'"), ); @@ -242,7 +242,7 @@ function item($user, $fname, $subtext = '') echo " $req"; break; default: - echo "$req"; + echo "$req"; break; } echo '';