Fixing deprecated access to $this->data.

This commit is contained in:
mark_story 2010-12-27 15:34:56 -05:00
parent b82ad15c5e
commit b6b4f4a3df

View file

@ -85,7 +85,7 @@
<?php endif; ?>
}
} else {
$this->data = $this-><?php echo $currentModelName; ?>->read(null, $id);
$this->request->data = $this-><?php echo $currentModelName; ?>->read(null, $id);
}
<?php
foreach (array('belongsTo', 'hasAndBelongsToMany') as $assoc):