[svn r15160] replace toos_table by tool_table (looks like a typing error)

skala
Eric Marguin 17 years ago
parent cd431ec2eb
commit b425c3d51f
  1. 4
      main/admin/configure_extensions.php

@ -63,7 +63,7 @@ if(isset($_POST['activeExtension'])){
if(!empty($_POST['visio_host']))
{
$tool_table = Database::get_course_table(TABLE_TOOL_LIST,$row['db_name']);
$select = "SELECT id FROM $toos_table WHERE name='".TOOL_VISIO_CONFERENCE."'";
$select = "SELECT id FROM $tool_table WHERE name='".TOOL_VISIO_CONFERENCE."'";
$selectres = api_sql_query($select,__FILE__, __LINE__);
if(Database::num_rows($selectres)<1)
{
@ -78,7 +78,7 @@ if(isset($_POST['activeExtension'])){
category="interaction"';
api_sql_query($sql, __FILE__, __LINE__);
}
$select = "SELECT id FROM $toos_table WHERE name='".TOOL_VISIO_CLASSROOM."'";
$select = "SELECT id FROM $tool_table WHERE name='".TOOL_VISIO_CLASSROOM."'";
$selectres = api_sql_query($select,__FILE__, __LINE__);
if(Database::num_rows($selectres)<1)
{

Loading…
Cancel
Save