You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: