Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing "package" parameter in setresellerpackagelimits function #1

Closed
tiran133 opened this issue Jun 22, 2011 · 1 comment
Closed
Assignees

Comments

@tiran133
Copy link

Acording to http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/SetResellerPkgLimit
its required and can't be null.

Anyway it don't even get passed as a parameter in the xmlapi_query() function.

Mfg

@ghost ghost assigned davidneimeyer Jun 27, 2011
@davidneimeyer
Copy link
Member

Hi tiran133,

I've corrected the passing of $package in setresellerpackagelimits. It should now function as documented as of version 1.0.10 of this client class.

$package must only be specified if $no_limit is set to a false value.

As a side note, the input variable $allowed must a value of either 0 or 1 when calling this PHP method...this is not technically required by the remote cPanel/WHM API. It's simply a 'best practice' imposed by this PHP client class.

-d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants