[svn r14454] Fix warning message about function return value inside condition (see FS#2304)

skala
Yannick Warnier 17 years ago
parent 74c7f93ac2
commit c06f3d7883
  1. 3
      main/inc/lib/add_course.lib.inc.php

@ -1672,7 +1672,8 @@ function fill_Db_course($courseDbName, $courseRepository, $language,$default_doc
if(api_get_setting('service_visio','active')=='true')
{
if(!empty(api_get_setting('service_visio','visio_host')))
$mycheck = apu_get_setting('service_visio','visio_host');
if(!empty($mycheck))
{
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CONFERENCE . "','conference/index.php?type=conference','visio_meeting.gif','1','0','squaregrey.gif','NO','_self','interaction')");
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CLASSROOM . "','conference/index.php?type=classroom','visio.gif','1','0','squaregrey.gif','NO','_self','authoring')");

Loading…
Cancel
Save