Commit 175d0da092578eb0c7b8cbb94d46e8c10712d580
1 parent
52b28882
price and count update
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
controllers/VariantCountController.php
views/shop/_form.php
... | ... | @@ -58,7 +58,7 @@ |
58 | 58 | <?= Html::checkbox("Shop[modeStr][$key][off]", ( isset($model->modeStr[ $key ][ 'off' ]) ) ? true : false) ?> |
59 | 59 | <?= Html::endTag('div'); ?> |
60 | 60 | <?php endforeach; ?> |
61 | - <?php if ($model->modeStr[ 'data' ]): ?> | |
61 | + <?php if (isset($model->modeStr[ 'data' ])): ?> | |
62 | 62 | |
63 | 63 | <?php foreach ($model->modeStr[ 'data' ] as $key => $data): ?> |
64 | 64 | <?= Html::beginTag('div') ?> | ... | ... |