Explorar o código

add usage vs qtymin calc

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

+ 1 - 2
productressources.php

@@ -26,7 +26,6 @@ require("../../init.php");
 
 $whmcs = App::self();
 $pid = (int) $whmcs->get_req_var('pid');
-$id = (int) $whmcs->get_req_var('id');
 $get = $whmcs->get_req_var('get');
 $language = $whmcs->get_req_var('language') ?: null;
 $data = array();
@@ -63,7 +62,7 @@ $configOptions = Capsule::table('tblproductconfigoptions')
 
 $ressource = new ResourceManager();
 
-print_r($whmcs);
+print_r($_GET);
 widgetOutput($pid);
 
 function widgetOutput($value) {