[svn r22114] minor-logic changes-deleted error sql - (partial FS#4403)

skala
Isaac Flores 16 years ago
parent 0a1f627a2e
commit 834c42600f
  1. 2
      main/external_module/external_module.php

@ -123,7 +123,7 @@ else
if ($toolid) // RH: new section
{
$sql = "SELECT name,link,target FROM $tbl_courseHome" .
" WHERE id='" . Database::escape_string($id) . "'";
" WHERE id='" . Database::escape_string($toolid) . "'";
$result = api_sql_query($sql, __FILE__, __LINE__);

Loading…
Cancel
Save