menatwork/MultiColumnWizard — Issue #25: Verwendung von foreinKey bei SELECT wirft Fehler
Author: menatwork-dev
Created: 2012-01-04 15:03:01+00:00
State: open
Labels: Completed, Defect

Verwendung von foreinKey bei SELECT wirft Fehler

```
Fatal error: Call to a member function execute() on a non-object in /DATA/webroot/contao210/system/modules/multicolumnwizard/MultiColumnWizard.php on line 487
```

Da fehlt ein $this->import('Database');

DCA:

```
'alerts' => array
(
'label'	=> array('Benachrichtigungen','Hier können Sie Benachrichtigungen definieren.'),
'inputType'	=> 'multiColumnWizard',
'eval'	=> array
(
'style'=>'width:100%;',
'columnsData' => array
(
'action' => array
(
'label' => array('Action'),
'inputType' => 'select',
'options'	=> array('TIMEOUT')
),
'cycles' => array
(
'label' => array('within Cycles'),
'inputType' => 'text',
'eval'	=> array('style'=>'width:80px;')
),
'alert' => array
(
'label'	=> array('Notification'),
'inputType'	=> 'select',
'foreignKey'	=> 'tl_moni4ward_alert.title'
)
)
)
)
```

*--- Originally created by Christoph Wiechert on 10.08.2011 21:40.*