Tarjei Huse wrote: > > The third line. I used mgd_get_article as listattachments on > > $article returned the same error. Got no idea why this error comes up. > > The mgd_list_* functions do not return a compleat object. (At least that's > the way it used to be for attachments) so therefore you need to do a > mgd_get_* to get the complete object before doing ->list...() on it.
The list functions do indeed not return a complete object... but I think the methods on the object will work. The methods are only dependant on the object ID (__table__ + id)), which are set on the listed objects. Do a echo serialize($list), it should show the methods. Emile --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
