php.net |  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: michael@php.net Assigned: michael (profile)
Status: Closed Package: newt (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 + 38 = ?
Subscribe to this entry?

 
 [2012-03-28 16:28 UTC] michael@php.net
Description:
------------
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()



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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


 [2012-03-28 16:33 UTC] michael@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: michael
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 00:01:28 2024 UTC