Hi all,

I do not get the same object if I get an object by name or get on object
by id.

The code: -->

      $series=mgd_get_topic_by_name($parent,$name);
      debug("series1: "); debug_r($series);
      $series=mgd_get_topic($series->id);
      debug("series2: "); debug_r($series);

The result: -->

series1: 

MidgardTopic Object
(
    [__table__] => topic
    [id] => 549
    [sitegroup] => 0
    [up] => 548
    [score] => 0
    [name] => orszagkalauzok
    [description] => Ide orsz�gkalauzok tartoznak.
    [extra] => Orsz�gkalauzok
    [owner] => 12
    [code] => 
    [creator] => 15
    [created] => 1015973755
    [revisor] => 15
    [revised] => 1015973981
    [revision] => 1
)

series2: 

MidgardTopic Object
(
    [__table__] => topic
    [id] => 549
    [sitegroup] => 2
    [panoramaMeta_CoverURL] => /panorama_static/covers
    [panoramaMeta_CoverDir] => /valahol
    [up] => 548
    [score] => 0
    [name] => orszagkalauzok
    [description] => Ide orsz�gkalauzok tartoznak.
    [extra] => Orsz�gkalauzok
    [owner] => 12
    [code] => 
    [creator] => 15
    [created] => 1015973755
    [revisor] => 15
    [revised] => 1015973981
    [revision] => 1
)

The 2nd one is expanded with the parameters, and belongs to SG 2
(correctly). Shouldn't be the two objects be the same?

Bye:
Circum


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

Reply via email to