/trunk/plugins/objectTypes/ipv4/plugin.inc.php |
---|
132,7 → 132,7 |
$title = OIDplusIpv4::objectTypeTitle(); |
$res = OIDplus::db()->query("select * from ".OIDPLUS_TABLENAME_PREFIX."objects where parent = ?", array(self::root())); |
if (OIDplus::db()->num_rows($res) > 0) { |
if ($res->num_rows() > 0) { |
$content = 'Please select a network block in the tree view at the left to show its contents.'; |
} else { |
$content = 'Currently, no network blocks are registered in the system.'; |