mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-10 05:26:06 +00:00
also check if categoryids is set
This commit is contained in:
parent
95b01544f3
commit
3191fa9310
|
@ -80,6 +80,14 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"] && $settings->_enableFullSe
|
||||||
$categorynames[] = $cat->getName();
|
$categorynames[] = $cat->getName();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} elseif(isset($_GET['categoryids']) && $_GET['categoryids']) {
|
||||||
|
foreach($_GET['categoryids'] as $catid) {
|
||||||
|
if($catid) {
|
||||||
|
$cat = $dms->getDocumentCategory($catid);
|
||||||
|
$categories[] = $cat;
|
||||||
|
$categorynames[] = $cat->getName();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue
Block a user