don't set items witch are not submitted from UA in content array on callback.

This is usefull if u want to process just subsets of a form e.g. by xajax
This commit is contained in:
Cornelius Weiß 2006-10-10 15:10:07 +00:00
parent 7f79a72d98
commit 4648c5025e
2 changed files with 5 additions and 3 deletions

View File

@ -634,6 +634,7 @@
{
return False;
}
if(!isset($pos[$idx])) return false;
$pos = &$pos[$idx];
}
return $pos;

View File

@ -1677,6 +1677,7 @@
$attr = array();
}
$value = $this->get_array($content_in,$form_name,True);
if($value === false) continue;
if (isset($attr['blur']) && $attr['blur'] == $value)
{