diff --git a/tableeditor.class.php b/tableeditor.class.php index bb7c1b6..2a11422 100644 --- a/tableeditor.class.php +++ b/tableeditor.class.php @@ -548,7 +548,6 @@ class TableEditor $editdata = array(); -// print_r($_POST); foreach($this->editfields AS $f=>$n) { $inputtype = ''; @@ -567,7 +566,7 @@ class TableEditor $editdata[$f] = "'$yy-$mm-$dd"; - if($inputttype == 'date') { + if($inputtype == 'date') { $editdata[$f] .= "'"; } else if($_POST[$f."_hour"]!="" && $_POST[$f."_minute"]!="") { $hh = intval($_POST[$f."_hour"]);