541469799@qq.com пре 10 месеци
родитељ
комит
8285e24dee
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/index/controller/Index.php

+ 1 - 1
app/index/controller/Index.php

@@ -135,7 +135,7 @@ class Index extends Controller
     public function productDetails($goodsId)
     {
         //$goodsId = $this->request->param('goodsId', 0);
-        $goodsId = intval($this->request->param('goodsId', 0));
+        $goodsId = intval($goodsId);
         if (empty($goodsId)) {
             return \redirect('index');
         }