DB_NestedSet _verifyUserValues issue ?
| From: | Arnaud Limbourg | Date: | Wed, 05 Nov 2003 08:18:19 +0000 |
| Subject: | DB_NestedSet _verifyUserValues issue ? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-23255@lists.php.net to get a copy of this message | ||
Hi,
Tracking a bug i found the code in
function _verifyUserValues($caller, &$values)
{
to be be confusing.
The following loop occurs to run a check
foreach($values AS $field=>$value) {
if(!isset($this->params[$field])) {
$epr = array(
The problem is that the $this->params array is of the form 'RealFieldName' => 'id'
If i understood correctly the $this->_flparams should be used, otherwise the check always fails.
Am i correct ?
Arnaud.