Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.3.0-b2
-
Component/s: None
-
Labels:None
Description
On a wizard list order form, a client viewing package groups with access to a restricted package will see many blank packages.
On lines 86-88 we have:
if (in_array($package->id, $client_packages)) { $packages[$group->package_group_id] = $package; }
Instead it should be:
if (in_array($package->id, $client_packages)) { if (!isset($packages[$group->package_group_id])) { $packages[$group->package_group_id] = []; } $packages[$group->package_group_id][] = $package; }