Fix dave's typo on inputttype (inputtype) so 'date' fields will work again!

This commit is contained in:
james 2007-12-14 15:38:03 +00:00
parent 13ef318f27
commit 25c6251c65

View File

@ -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"]);