From fcad62bbe1ec48899bea1caf4be9ec4df4653441 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 9 Apr 2008 22:02:33 +0200 Subject: [PATCH] [svn r14813] Move chapter fixed. (see FS#2446) --- main/newscorm/learnpath.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index f2c43dcd83..cfc6dbbeed 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -5624,8 +5624,7 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '') $sql = " SELECT * FROM " . $tbl_lp_item . " - WHERE - lp_id = " . $this->lp_id; + WHERE lp_id = " . $this->lp_id. " AND id != " . $id. " "; if($item_type == 'module') $sql .= " AND parent_item_id = 0";