[svn r13055] Fixes bug FS#1788

skala
Yannick Warnier 18 years ago
parent 7cc596c5e5
commit 3a62208eb8
  1. 5
      main/admin/configure_extensions.php

@ -65,7 +65,8 @@ if(isset($_POST['activeExtension'])){
if(!empty($_POST['visioconference_url'])) if(!empty($_POST['visioconference_url']))
{ {
$sql = 'INSERT INTO '.$row['db_name'].'.'.TABLE_TOOL_LIST.' SET $tool_table = Database::get_course_table(TABLE_TOOL_LIST,$row['db_name']);
$sql = 'INSERT INTO '.$tool_table.' SET
name="'.TOOL_VISIO_CONFERENCE.'", name="'.TOOL_VISIO_CONFERENCE.'",
link="conference/index.php?type=conference", link="conference/index.php?type=conference",
image="visio.gif", image="visio.gif",
@ -79,7 +80,7 @@ if(isset($_POST['activeExtension'])){
} }
if(!empty($_POST['visioclassroom_url'])) if(!empty($_POST['visioclassroom_url']))
{ {
$sql = 'INSERT INTO '.$row['db_name'].'.'.TABLE_TOOL_LIST.' SET $sql = 'INSERT INTO '.$tool_table.' SET
name="'.TOOL_VISIO_CLASSROOM.'", name="'.TOOL_VISIO_CLASSROOM.'",
link="conference/index.php?type=classroom", link="conference/index.php?type=classroom",
image="visio.gif", image="visio.gif",

Loading…
Cancel
Save