Update combinations.php
This commit is contained in:
parent
f9cce93fc9
commit
40d31d9b8b
@ -69,7 +69,7 @@ if ($id > 0 || $ref) {
|
||||
$object->fetch($id, $ref);
|
||||
}
|
||||
|
||||
$selectedvariant = !empty($_SESSION['addvariant_'.$object->id]) ? $_SESSION['addvariant_'.$object->id] : Array();
|
||||
$selectedvariant = !empty($_SESSION['addvariant_'.$object->id]) ? $_SESSION['addvariant_'.$object->id] : array();
|
||||
|
||||
// Security check
|
||||
if (empty($conf->variants->enabled)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user