From 0355d91ba6eba66456e06b618f17096a5e31d7f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 2 Aug 2010 17:38:35 +0200 Subject: [PATCH] Degree ids autoincrement and thus should not be editable. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.1.4