/trunk/plugins/viathinksoft/publicPages/000_objects/OIDplusPagePublicObjects.class.php |
---|
467,7 → 467,12 |
$row = null; |
$matches_any_registered_type = false; |
foreach (OIDplus::getEnabledObjectTypes() as $ot) { |
if ($obj = $ot::parse($id)) { |
try { |
$obj = OIDplusObject::parse($id); |
} catch (Exception $e) { |
$obj = null; |
} |
if (!is_null($obj)) { |
$matches_any_registered_type = true; |
if ($obj->isRoot()) { |
$obj->getContentPage($out['title'], $out['text'], $out['icon']); |