Missing "package" parameter in setresellerpackagelimits function
tiran133 opened this issue · comments
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
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