|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61545 newt_checkbox_tree_add_item() doesn't accept correct number of arguments
Submitted: 2012-03-28 16:28 UTC Modified: 2012-03-28 16:33 UTC
From: Assigned: michael (profile)
Status: Closed Package: newt (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2012-03-28 16:28 UTC]
We're trying to use: newt_checkbox_tree_add_item()

We pass it 5 params as indicated in the docs (and as the source indicates is 
required), but that gives an error:

 newt_checkbox_tree_add_item() expects exactly 4 parameters, 5 given

So we drop it to 4 params, and as you'd expect, it gives:

 Wrong parameter count for newt_checkbox_tree_add_item()


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-28 16:32 UTC]
Automatic comment from SVN on behalf of michael
Log: Fixed bug #61545 - newt_checkbox_tree_add_item() doesn't accept correct number of arguments
 [2012-03-28 16:33 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

 [2012-03-28 16:33 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: michael
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Dec 02 22:01:23 2020 UTC