Reseller restore without overselling and without unlimited domains hits domain limit

Version 1.46


If a Reseller has the followin: - Overselling disabled - Max Domains is not unlimited a bug existed where upon restoring a User, the Reseller usage/limit check would always throw the error: Cannot restore, it would exceed your Resellers limit were the bug was that the check should have been comparing the vdomains variable from the reseller.usage vs reseller.conf, but it was taking both the used and max variables from the reseller.conf, hence comparsion was always true, hence the error always happend. It looks like this bug has been around for a long time, but only recently reported (fix was fairly easy, to change either of the above conditions to bypass the error) but now.. it's fixed.

Interested to try DirectAdmin? Get a 30-day Free Trial!