Vidar Berg wrote:

> I cant get the listattachments function to work.
> 
> Here is my testing script:
> 
> <?
>   $article = mgd_get_article(28);
>   $list    = $article->listattachments();

You can test the value of $list at this point. If it's false,
mgd_errstr() will tell you why.

> If I try the example in the midgard manual, with the same article id, 
> 
> <?php
>   $article = mgd_get_attachment(28); # article with id 123 must exist.

This is wrong, and should read
   $article = mgd_get_article(28); # article with id 123 must exist.

I've fixed that in the docs.

Emile


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to