> > oh! my mistake, I just noticed that before I create topic,
> > and I have something like this:
> > $object = mgd_create_topic();
> >     if (!$topic)
> >     {
> >     $new_topic = mgd_get_by_name();
> >     $object = $new_topic->id;
> 
> Why not simply:
> 
> $object = $new_topic;

becasue mgd_create_objects returns ID
and mgd_get_object returns Object.
Anyway I fixed that similiar way.

Piotras

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

Reply via email to