Commit 9a97f5a5a93fb24e2f3e0e6bb28c1117c34f8769
1 parent
2032cb18
- bug fix in price
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
backend/views/price/_add_price.php
@@ -38,7 +38,7 @@ JS; | @@ -38,7 +38,7 @@ JS; | ||
38 | echo $form->field($price_lang, '['.$lastId.']['.$key.']title')->label('Название '.$value['url']); | 38 | echo $form->field($price_lang, '['.$lastId.']['.$key.']title')->label('Название '.$value['url']); |
39 | } | 39 | } |
40 | ?> | 40 | ?> |
41 | - <?= $form->field($price, '['.$price->id.']status') | 41 | + <?= $form->field($price, '['.$lastId.']status') |
42 | ->checkbox( | 42 | ->checkbox( |
43 | [ | 43 | [ |
44 | 'class' => 'switchery', | 44 | 'class' => 'switchery', |