From 3e7c28ae415b6bb428b324c8fcb5961495984b38 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Mon, 10 Jan 2011 11:07:17 +0100 Subject: [PATCH] Minor - Replacing update_query to update --- 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 278c24869c..ee4890a1e5 100755 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -8667,7 +8667,7 @@ EOD; //Setting my lp_id to autolunch = 1 $attributes['autolunch'] = 1; $where = array('id = ? AND session_id = ? '=> array($lp_id, api_get_session_id())); - Database::update_query($lp_table, $attributes, $where ); + Database::update($lp_table, $attributes, $where ); } }