Update combinations.php

This commit is contained in:
Laurent Destailleur 2022-07-24 20:13:48 +02:00 committed by GitHub
parent 54c2cc245d
commit 083b785ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)) {