From: Stéphane Jacob Date: Mon, 2 Aug 2010 15:38:35 +0000 (+0200) Subject: Degree ids autoincrement and thus should not be editable. X-Git-Tag: xorg/1.0.1~294 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=0355d91ba6eba66456e06b618f17096a5e31d7f5;p=platal.git Degree ids autoincrement and thus should not be editable. Signed-off-by: Stéphane Jacob --- diff --git a/modules/profile.php b/modules/profile.php index 8f60003..61d1596 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -755,7 +755,7 @@ class ProfileModule extends PLModule function handler_admin_education_degree(&$page, $action = 'list', $id = null) { $page->setTitle('Administration - Niveau de formation'); $page->assign('title', 'Gestion des niveau de formation'); - $table_editor = new PLTableEditor('admin/education_degree', 'profile_education_degree_enum', 'id', true); + $table_editor = new PLTableEditor('admin/education_degree', 'profile_education_degree_enum', 'id'); $table_editor->add_join_table('profile_education_degree', 'degreeid', true); $table_editor->add_join_table('profile_education', 'degreeid', true); $table_editor->describe('degree', 'niveau', true);