Rev 250 | Rev 277 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 250 | Rev 261 | ||
---|---|---|---|
Line 68... | Line 68... | ||
68 | 68 | ||
69 | if (!is_null($goto_path)) array_shift($goto_path); |
69 | if (!is_null($goto_path)) array_shift($goto_path); |
70 | 70 | ||
71 | $confidential_oids = array(); |
71 | $confidential_oids = array(); |
72 | 72 | ||
73 | $res = OIDplus::db()->query("select id from ".OIDPLUS_TABLENAME_PREFIX."objects where confidential = '1'"); |
73 | $res = OIDplus::db()->query("select id from ###objects where confidential = '1'"); |
74 | while ($row = $res->fetch_array()) { |
74 | while ($row = $res->fetch_array()) { |
75 | $confidential_oids[] = $row['id']; |
75 | $confidential_oids[] = $row['id']; |
76 | } |
76 | } |
77 | 77 | ||
78 | $res = OIDplus::db()->query("select * from ".OIDPLUS_TABLENAME_PREFIX."objects where parent = ? order by ".OIDplus::db()->natOrder('id'), array($parent)); |
78 | $res = OIDplus::db()->query("select * from ###objects where parent = ? order by ".OIDplus::db()->natOrder('id'), array($parent)); |
79 | while ($row = $res->fetch_array()) { |
79 | while ($row = $res->fetch_array()) { |
80 | $obj = OIDplusObject::parse($row['id']); |
80 | $obj = OIDplusObject::parse($row['id']); |
81 | 81 | ||
82 | if (!$obj->userHasReadRights()) continue; |
82 | if (!$obj->userHasReadRights()) continue; |
83 | 83 |