Update combinations.php
This commit is contained in:
parent
54c2cc245d
commit
083b785ec8
@ -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