remove old print_r()

This commit is contained in:
Uwe Steinmann 2015-04-14 19:37:33 +02:00
parent 7e8fb4451c
commit 9c61ede57a

View File

@ -270,7 +270,6 @@ if($attributes) {
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("attr_min_values", array("attrname"=>$attrdef->getName()))); UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("attr_min_values", array("attrname"=>$attrdef->getName())));
} }
if($attrdef->getMaxValues() && $attrdef->getMaxValues() < count($attribute)) { if($attrdef->getMaxValues() && $attrdef->getMaxValues() < count($attribute)) {
print_r($attrdef);
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("attr_max_values", array("attrname"=>$attrdef->getName()))); UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("attr_max_values", array("attrname"=>$attrdef->getName())));
} }
} }