Reported by riotera | November 11th, 2010 @ 01:43 PM
In DetailsController in 'edit' action:
if (empty($this->data)) {
$this->data['Detail'] = $this->Detail->getSection($this->Auth->user('id'), $section);
}
corrected:
if (empty($this->data)) {
$data = $this->Detail->getSection($this->Auth->user('id'), $section);
$this->data['Detail'] = $data[$section];
}
Reported by riotera | November 11th, 2010 @ 01:43 PM
In DetailsController in 'edit' action:
corrected: