添加判断条件
This commit is contained in:
parent
c6fc074fd6
commit
240c721be9
@ -54,9 +54,10 @@ class GroupBuyLogic extends Logic
|
|||||||
$v['value'] = strtotime($v['value']);
|
$v['value'] = strtotime($v['value']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($v['name'] == 'service') {
|
if ($v['name'] == 'service' && $v['value']) {
|
||||||
$v['value'] = explode(',', $v['value']);
|
$v['value'] = explode(',', $v['value']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$config[$v['name']] = $v['value'];
|
$config[$v['name']] = $v['value'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user