mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
6a7d596806
|
@ -122,7 +122,7 @@ switch($command) {
|
||||||
foreach($hits['docs'] as $hit) {
|
foreach($hits['docs'] as $hit) {
|
||||||
if($hit->getAccessMode($user, 'search') >= M_READ) {
|
if($hit->getAccessMode($user, 'search') >= M_READ) {
|
||||||
if($hit->getLatestContent()) {
|
if($hit->getLatestContent()) {
|
||||||
//$result[] = $hit->getID().'#'.$hit->getName();
|
// $result[] = $hit->getID().'#'.$hit->getName();
|
||||||
$result[] = array('type'=>'D', 'id'=>$hit->getId(), 'name'=>htmlspecialchars($hit->getName()), 'path'=>htmlspecialchars($hit->getParent()->getFolderPathPlain(true, '/')));
|
$result[] = array('type'=>'D', 'id'=>$hit->getId(), 'name'=>htmlspecialchars($hit->getName()), 'path'=>htmlspecialchars($hit->getParent()->getFolderPathPlain(true, '/')));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user