CompareBasketObject: objects should stay objects

This commit is contained in:
Thomas Gelf 2023-03-07 11:54:32 +01:00
parent 1d787ccb47
commit b4839f6855
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class CompareBasketObject
static::normalize($v);
}
unset($v);
$value = $sorted;
$value = (object) $sorted;
// foreign baskets might not sort those lists correctly:
if (isset($value->list_name) && isset($value->entries)) {