Hi,

 I need to get object by guid as admin from SG0 but using the following
I fail. Why?

Example:

if ($midgard->sitegroup!=0){
 $info = mgd_get_object_by_guid($argv[0]); //works - ie object from SGx
is fetched if code is executed by site from SGx
} else {
 $info = mgd_get_object_by_guid($argv[0]); // no doesnt work - object
from SGx cannot be reached by SG0 site
}

  mgd_serve_attachment($info->id);


Solt


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

Reply via email to