[phplib-commit] CVS: php-lib-stable/php oohforms.inc,1.7,1.8
Brought to you by:
nhruby,
richardarcher
From: Richard A. <ric...@us...> - 2006-04-10 20:02:31
|
Update of /cvsroot/phplib/php-lib-stable/php In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22051 Modified Files: oohforms.inc Log Message: Fix a warning. Thanks to Moritz Borgmann. Index: oohforms.inc =================================================================== RCS file: /cvsroot/phplib/php-lib-stable/php/oohforms.inc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** oohforms.inc 6 Apr 2006 03:45:25 -0000 1.7 --- oohforms.inc 10 Apr 2006 20:02:26 -0000 1.8 *************** *** 399,407 **** while ($elrec) { $el = $elrec["ob"]; ! $this->elements[$el->name]["frozen"]=1; if ($flist) { ! next($flist); ! $elrec = $this->elements[current($flist)]; ! } else { next($this->elements); $elrec = current($this->elements); --- 399,412 ---- while ($elrec) { $el = $elrec["ob"]; ! $this->elements[$el->name]["frozen"] = 1; if ($flist) { ! if (next($flist)) { ! $elrec = $this->elements[current($flist)]; ! } ! else { ! $elrec = ""; ! } ! } ! else { next($this->elements); $elrec = current($this->elements); |