BUG 6419 removing print_r

This commit is contained in:
Erik Amaru Ortiz
2011-04-07 12:40:20 -04:00
parent 2fb1063743
commit 835c0700de

View File

@@ -313,9 +313,7 @@ class Form extends XmlForm
// the variable fieldIsSet checks if a dropdown label has been saved so the values cannot be rewritted again. // the variable fieldIsSet checks if a dropdown label has been saved so the values cannot be rewritted again.
$fieldIsSet = false; $fieldIsSet = false;
foreach($item as $kk => $vv){ foreach($item as $kk => $vv){
G::pr($item);die; //we need to know which fields are dropdowns
//print_r($this->fields[$k]->fields[$kk]->type);print'<hr>'; die;
//we need to know which fields are dropdowns
if($this->fields[$k]->fields[$kk]->type == 'dropdown'){ if($this->fields[$k]->fields[$kk]->type == 'dropdown'){
if(($this->fields[$k]->fields[$kk]->saveLabel)==1){ if(($this->fields[$k]->fields[$kk]->saveLabel)==1){
if ($this->fields[$k]->validateValue($newValues[$k][$j], $this )){ if ($this->fields[$k]->validateValue($newValues[$k][$j], $this )){