From: Anne Limoges Date: Wed, 20 Nov 2013 13:56:45 +0000 (+0100) Subject: Fix sort_name and display_name inversion. X-Git-Tag: xorg/1.1.10~17 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=072ce0fa44b7ce1c6874773c9c6288679e504bdf;p=platal.git Fix sort_name and display_name inversion. --- diff --git a/modules/admin.php b/modules/admin.php index a224b93..59b0bee 100644 --- a/modules/admin.php +++ b/modules/admin.php @@ -931,7 +931,7 @@ class AdminModule extends PLModule VALUES (100, {?}, {?}, {?}, {?}, {?}, {?}, \'primary\')', $pid, $eduSchools[Profile::EDU_X], $degreeid, $entry_year, $grad_year, $promotion); XDB::execute('INSERT INTO accounts (hruid, type, is_admin, state, full_name, directory_name, - display_name, sort_name, lastname, firstname, sex, best_domain) + sort_name, display_name, lastname, firstname, sex, best_domain) VALUES ({?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?})', $infos['hrid'], $type, 0, 'pending', $fullName, $directoryName, $sortName, $firstname, $lastname, $firstname, $sex, $best_domain);