removed edit page in settings + manage subscription update

This commit is contained in:
Jonathan Labreuille
2016-03-16 09:56:07 +01:00
parent 72882aaf2b
commit e28451d410
6 changed files with 25 additions and 40 deletions

View File

@ -18,7 +18,12 @@ class Select extends Base {
$html .= '<option value="">'.static::getFieldLabel($block).'</option>';
}
foreach($block['params']['values'] as $option) {
$options = (!empty($block['params']['values'])
? $block['params']['values']
: array()
);
foreach($options as $option) {
$is_selected = (
(isset($option['is_checked']) && $option['is_checked'])
||