jmontoyaa 9 years ago committed by Angel Fernando Quiroz Campos
parent 063a0aeb91
commit beed5e84d2
  1. 4
      main/exercise/TestCategory.php

@ -74,8 +74,8 @@ class TestCategory
if ($row['nb'] <= 0) {
$params = [
'c_id' => $courseId,
'title' => $this->name,
'description' => $this->description
'title' => (string) $this->name,
'description' => (string) $this->description
];
$newId = Database::insert($table, $params);

Loading…
Cancel
Save