Subversion Repositories oidplus

Rev

Rev 1148 | Rev 1186 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1148 Rev 1156
Line 132... Line 132...
132
                while ($row = $res->fetch_array()) {
132
                while ($row = $res->fetch_array()) {
133
                        $confidential_oids[] = $row['id'];
133
                        $confidential_oids[] = $row['id'];
134
                }
134
                }
135
 
135
 
136
                $res = OIDplus::db()->query("select * from ###objects where parent = ?", array($parent));
136
                $res = OIDplus::db()->query("select * from ###objects where parent = ?", array($parent));
137
                $res = new OIDplusNaturalSortedQueryResult($res, 'id');
137
                $res->naturalSortByField('id');
138
                while ($row = $res->fetch_array()) {
138
                while ($row = $res->fetch_array()) {
139
                        $obj = OIDplusObject::parse($row['id']);
139
                        $obj = OIDplusObject::parse($row['id']);
140
                        if (!$obj) continue; // e.g. object-type plugin disabled
140
                        if (!$obj) continue; // e.g. object-type plugin disabled
141
 
141
 
142
                        if (!$obj->userHasReadRights()) continue;
142
                        if (!$obj->userHasReadRights()) continue;