#21019 [Opn->Csd]: isset lack in quickform

From: Date: Sun, 15 Dec 2002 11:45:43 +0000
Subject: #21019 [Opn->Csd]: isset lack in quickform
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11678@lists.php.net to get a copy of this message
ID: 21019 Updated by: mansion@php.net Reported By: entis@poczta.fm -Status: Open +Status: Closed Bug Type: PEAR related Operating System: winxp PHP Version: 4.2.3 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-12-14 16:32:51] entis@poczta.fm 1. Code (part of QuickForm_example.php) ... $checkbox[] = &HTML_QuickForm::createElement('checkbox', 'A', null, 'A'); ... 2. Result in browser Notice: Undefined property: _submitValues in c:\...\HTML\QuickForm\checkbox.php on line 233 3. Bug file HTML/QuickForm/checkbox.php method onQuickFormEvent ... if (count($caller->_submitValues) > 0) { ... 4. Solution if (isset($caller->_submitValues) && (count($caller->_submitValues) > 0)) { ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21019&edit=1

« previous php.pear.dev (#11678) next »