541469799@qq.com 10 mēneši atpakaļ
vecāks
revīzija
8285e24dee
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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');
         }