removing an echo diagnostic output...

This commit is contained in:
pichetp
2008-12-01 04:03:48 +00:00
parent cae0b24abb
commit 77f60b432a
@@ -1481,7 +1481,6 @@ class question_calculated_qtype extends default_questiontype {
AND a.name = ?", array($form->category, $name));
$type = 1 ;
$key = "$type-$form->category-$name";
echo "<p>categorydatasetdefs $name <pre>"; print_r($categorydatasetdefs);echo "</pre></p> ";
if (!empty($categorydatasetdefs)){ // there is at least one with the same name
if (isset($categorydatasetdefs[$form->id])) {// it is already used by this question
$options[$key] = get_string($prefix."keptcategory$type", $langfile);