Jump to content
thirty bees forum

Krystian

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Krystian

  1. <?php

    class AdminOrdersController extends AdminOrdersControllerCore
    {
        public function __construct()
        {
            parent::__construct();
    
            $this->fields_list['invoice_number'] = array(
                'title' => $this->l('invoice'),
                'align' => 'text-center',
                'class' => 'fixed-width-xs'
    
            $this->fields_list['postcode'] = array(
    'title' => $this->l('Postcode'),
    'align' => 'text-center',
    'class' => 'fixed-width-xs'
    

    ); } }

    And after adding this I see this message.

    FatalErrorException in AdminOrdersController.php line 14: Parse Error: syntax error, unexpected '$this' (T_VARIABLE), expecting ')'

×
×
  • Create New...