catalog/includes/functions/general.php 1 location
|
@@ 557-559 (lines=3) @@
|
554 |
|
|
555 |
|
$Qmanufacturers = $OSCOM_Db->query('select manufacturers_id, manufacturers_name from :table_manufacturers order by manufacturers_name'); |
556 |
|
|
557 |
|
while ($Qmanufacturers->fetch()) { |
558 |
|
$manufacturers_array[] = array('id' => $Qmanufacturers->valueInt('manufacturers_id'), 'text' => $Qmanufacturers->value('manufacturers_name')); |
559 |
|
} |
560 |
|
|
561 |
|
return $manufacturers_array; |
562 |
|
} |
catalog/admin/categories.php 1 location
|
@@ 561-566 (lines=6) @@
|
558 |
|
'manufacturers_name' |
559 |
|
], null, 'manufacturers_name'); |
560 |
|
|
561 |
|
while ($Qmanufacturers->fetch()) { |
562 |
|
$manufacturers_array[] = [ |
563 |
|
'id' => $Qmanufacturers->valueInt('manufacturers_id'), |
564 |
|
'text' => $Qmanufacturers->value('manufacturers_name') |
565 |
|
]; |
566 |
|
} |
567 |
|
|
568 |
|
$tax_class_array = array(array('id' => '0', 'text' => OSCOM::getDef('text_none'))); |
569 |
|
|