Anyone know of a problem with article fetch() in 1.2.4?
For some reason I'm not getting $article->content back.
So, for example, the output of

$a = mgd_get_article( "51" );
     ?> &(a.id); <br> &(a.abstract); <br> &(a.content); <?

is:

    51
    This here's the abstract...
    ... and this is the content

which is correct, but the output of

$tc = $topic;
 $a = mgd_list_topic_articles( $tc, "score" );
   while( $a->fetch() ) {
     ?> &(a.id); <br> &(a.abstract); <br> &(a.content); <?
   }

is:

    51
    This here's the abstract...

which is missing $a->content.

Seems kinda hard to imagine that this is an undiscovered
bug, but I can't see what else could be wrong here.

By the way, there's a little typo in the manual at
http://www.midgard-project.org/manual/function.list-topic-articles.html
There's an extra "$" in the example in the line
?> &($article.name); <br> <?php

Paul N.


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to