On 9 May, Henri Bergius wrote:
> <?php
> $article = 123;
> $target_topic = 456;
>
> mgd_move_article($article, $target_topic);
> ?>
Actually, there is a bug here (in PHP or Midgard? I'm
not sure).
The mgd_move_xx functions do not return any values,
but if their nonexistent return value is not read
to a variable, the PHP parser exits.
So instead of the example above, do:
<?php
$status = mgd_move_article($article, $target_topic);
?>
/Bergie
--
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
http://www.iki.fi/Henri.Bergius
--
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]