PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /public_html/system/storage/modification/catalog/controller/product/manufacturer.php
Als ik de code bekijk staat er:
Code: Select all
foreach ($results as $result) {
if (is_numeric(utf8_substr($result['name'], 0, 1))) {
'quantity' => $result['quantity'],
'stockstatusid' => $result['stock_status_id'],
'button_cart' => (($result['quantity'] < $hb_oosn_product_qty) && (($result['stock_status_id'] == $hb_oosn_stock_status) or ($hb_oosn_stock_status == 0)))? $this->language->get('button_notify_button'):$this->language->get('button_cart'),
'notify_enable' => (($result['quantity'] < $hb_oosn_product_qty) && (($result['stock_status_id'] == $hb_oosn_stock_status) or ($hb_oosn_stock_status == 0)))? true:false,
$key = '0 - 9';
} else {
$key = utf8_substr(utf8_strtoupper($result['name']), 0, 1);
}