Marius Cramer
2014-02-04 4e09cb4988468fdd1c3e5d0b6f5e9910cfe4be3e
interface/web/client/client_template_edit.php
@@ -55,9 +55,10 @@
   function onSubmit() {
      global $app;
      
      //* Resellers shall not be able to create another reseller
      //* Resellers shall not be able to create another reseller or set reseller specific settings
      if($_SESSION["s"]["user"]["typ"] == 'user') {
         $this->dataRecord['limit_client'] = 0;
         $this->dataRecord['limit_domainmodule'] = 0;
      }
      
      parent::onSubmit();