Monday 13 March 2006 6:14:52 am - 2 replies
Bartek Modzelewski
Tuesday 14 March 2006 12:00:02 am
You can't use array() here:
{def $attributes=fetch(class,'attribute_list', hash('class_id', array($create_class.id)))}
Just put class_id as single variable:
{def $attributes=fetch( class, 'attribute_list', hash( 'class_id', $create_class.id ) ) }
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/modules/class/fetch_functions/attribute_list
Baobaz http://www.baobaz.com
Marko Žmak
Tuesday 14 March 2006 2:44:04 pm
Thanks for the tip I'll use it.
But still, event if the template syntax is wrong, this shouldn't produced the described mysql error but produce a warning. Am I right?
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth
You must be logged in to post messages in this topic!