Missing "package" parameter in setresellerpackagelimits function #1

Closed
tiran133 opened this Issue Jun 22, 2011 · 1 comment

Comments

Projects
None yet
2 participants

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

Owner

davidneimeyer commented Jun 27, 2011

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