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
 [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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-20 13:20 UTC] tony2001@php.net
PEAR bugs belong to PEAR bug database.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 16:01:36 2024 UTC