php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38158 QuickForm hierselect reports JS error when it is rendered independently from QF
Submitted: 2006-07-20 13:12 UTC Modified: 2006-07-20 13:20 UTC
From: stas at metalinfo dot ru Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.4.3RC2 OS: WinXp
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: stas at metalinfo dot ru
New email:
PHP Version: OS:

 

 [2006-07-20 13:12 UTC] stas at metalinfo dot ru
Description:
------------
QuickForm hierselect reports JS error when it is rendered independently from QuickForm

Reproduce code:
---------------
$sel = & HTML_QuickForm::createElement('hierselect', 'district', 'Some title');
		    $sel->setOptions(array($opt1, $opt2));
$renderer = new HTML_QuickForm_Renderer_ArraySmarty($smarty);
		    $sel->accept($renderer);
$renderer->toArray(true)

Actual result:
--------------
Error: invalid 'in' operand form

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-20 13:20 UTC] tony2001@php.net
PEAR bugs belong to PEAR bug database.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 20 00:00:02 2025 UTC