@@ -50,7 +50,7 @@ if(isset($_POST['activeExtension'])){
// select all the courses and insert the tool inside
$sql = 'SELECT db_name FROM '.Database::get_main_table(MAIN_COURSE_TABLE);
- echo $sql;
+
$rs = api_sql_query($sql);
while($row = mysql_fetch_array($rs)){