Frank Boehme wrote:
> 
> Emiliano wrote:
> 
> > > For me, the OO methods (such as $article->update() and friends) are not
> > > working (they don't do anything and return true). Has that been fixed?
> >
> > I don't remember this being fixed specifically. Does the equivalent
> > mgd_update_article have the same behaviour?
> 
> No, these functions work perfectly. But it's a pain to supply all those
> arguments in the right order and with the right types and defaults.
> 
> > Who are you logged in as? Does it matter if you're admin or not?
> 
> It does not matter which idendity the browser supplies. BTW,
> $person->update() has the same behaviour (it is not working).

I just tried this (with a page record I now realize). I got the expected
failure or success depending on who I was logged in as. This is what I
did:

<? $page = mgd_get_page(44);
   $page->title=time();
   echo "Update ";
   if ($page->update()) { echo "OK"; } else {echo "failed"; }
   echo "<br>";
   $page = mgd_get_page(44);
   echo "Title = >", $page->title, "<";
?>

Emile

--
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