Преглед на файлове

Minor - Replacing update_query to update

Julio Montoya преди 14 години
родител
ревизия
3e7c28ae41
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      main/newscorm/learnpath.class.php

+ 1 - 1
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 );
         }
     }