fixes bug to detail page
Showing
1 changed file
with
0 additions
and
2 deletions
@@ -17,12 +17,10 @@ class DetailController extends AbstractAction | @@ -17,12 +17,10 @@ class DetailController extends AbstractAction | ||
17 | public function indexAction() | 17 | public function indexAction() |
18 | { | 18 | { |
19 | $productId = $this->param('productId'); | 19 | $productId = $this->param('productId'); |
20 | - $productId = 22399; | ||
21 | if (!is_numeric($productId)) { | 20 | if (!is_numeric($productId)) { |
22 | $this->error(); | 21 | $this->error(); |
23 | } | 22 | } |
24 | $goodsId = $this->param('goodsId'); | 23 | $goodsId = $this->param('goodsId'); |
25 | - $goodsId = 32443; | ||
26 | if (!is_numeric($goodsId)) { | 24 | if (!is_numeric($goodsId)) { |
27 | $this->error(); | 25 | $this->error(); |
28 | } | 26 | } |
-
Please register or login to post a comment