Added a second parameter in case the table is in blank

skala
Arthur Portugal 16 years ago
parent 538291644a
commit 6db28d7aa0
  1. 1
      main/exercice/hotpotatoes.lib.php

@ -105,6 +105,7 @@ function GetComment($path,$course_code='') {
*/
function SetComment($path,$comment) {
global $dbTable;
$path = Database::escape_string($path);
$comment = Database::escape_string($comment);

Loading…
Cancel
Save