From 8601cdc58787858cad9ca9ed3c90fc9bf1750f10 Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Mon, 28 May 2007 10:11:10 +0200 Subject: [PATCH] [svn r12496] fix a bug : escape single quotes in the learpath title in the tree menu --- main/newscorm/learnpath.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index de7f93faa1..bf1a218dc3 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -3734,7 +3734,7 @@ class learnpath { $arrLP[] = array( 'id' => $row['id'], 'item_type' => $row['item_type'], - 'title' => $row['title'], + 'title' => addslashes($row['title']), 'path' => $row['path'], 'description' => $row['description'], 'parent_item_id' => $row['parent_item_id'],