5514 Posts in 1733 Topics by 1219 members
|Go to End|
14 April 2011 at 7:30pm
Just noticed something that seems odd at:
states that to add an image field:
static $db = array( 'Role' => 'text', 'StaffPhoto' => 'image' );
But, shouldnt it be:
static $db = array(
"Role" => "Text"
static $has_one= array(
"StaffPhoto" => "Image"
seems to work for me this way anyways.
14 April 2011 at 8:33pm
Thanks, updated. Looks like the writers got a little over confident in their abilities!
|Go to Top|