Changeset 8126 for trunk/admin/configuration.php
- Timestamp:
- Dec 14, 2010, 2:47:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r6411 r8126 107 107 108 108 //------------------------------ verification and registration of modifications 109 if (isset($_POST['submit']) and !is_adviser())109 if (isset($_POST['submit'])) 110 110 { 111 111 $int_pattern = '/^\d+$/'; … … 324 324 325 325 $errors = array(); 326 if ( !is_adviser() ) 327 { 328 if (save_profile_from_post($edit_user, $errors)) 329 { 330 // Reload user 331 $edit_user = build_user($conf['guest_id'], false); 332 array_push($page['infos'], l10n('Information data registered in database')); 333 } 326 if (save_profile_from_post($edit_user, $errors)) 327 { 328 // Reload user 329 $edit_user = build_user($conf['guest_id'], false); 330 array_push($page['infos'], l10n('Information data registered in database')); 334 331 } 335 332 $page['errors'] = array_merge($page['errors'], $errors);
Note: See TracChangeset
for help on using the changeset viewer.