Skip to content

Commit f5d0a12

Browse files
committed
Fixed wrong getAll method for manufacturer
1 parent 7525a66 commit f5d0a12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/controller/editor/autocomplete.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ function manufacturers() {
8585

8686
$manufacturers = new \Vvveb\Sql\ManufacturerSQL();
8787

88-
$results = $manufacturers->getManufacturers($options);
88+
$results = $manufacturers->getAll($options);
8989

9090
$search = [];
9191

92-
foreach ($results['manufacturers'] as $manufacturer) {
92+
foreach ($results['manufacturer'] as $manufacturer) {
9393
$search[$manufacturer['manufacturer_id']] = $manufacturer['name'];
9494
}
9595

0 commit comments

Comments
 (0)