Explorar o código

add usage vs qtymin calc

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
c45782c7d2
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      productressources.php

+ 1 - 2
productressources.php

@@ -62,8 +62,7 @@ $configOptions = Capsule::table('tblproductconfigoptions')
     ->select('optionname','qtyminimum')
     ->get();
 
-$this->service = new Service();
-$this->service->setServiceId($id);
+$this->service = new Service($id);
 $this->service->loadWhmcsService();
 $this->ressource = new ResourceManager();