On Wed, Sep 03, 2003 at 11:52:25AM +0200, Benoit Lathiere wrote:
> i !
> 
> I'm using OOP to change (recursively) page's author (after a migratino from 
> 1.2.5).
> But update doesn't work.
> 
> My code (not recursively for the moment) :
> 
> function update_page_author($id)
> {
>  $page = mgd_get_page($id);
>  $page->author = 500 ;

$page->update(); doesn't help?

> }
> update_page_author(369);
> 
> 
> What's the matter here ??
> Change works with Aegir GUI, but not by PHP-Midgard code.
> 
> context : Debian, Midgard 1.4.4/SG
> 
> Thanks for your help...
> 
> 
>       Benoit.

--
Regards,
Sergei Dolmatov.
---
Computers are not intelligent.  They only think they are.

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

Reply via email to