mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
- behave propperly if 'all categories' has been selected
This commit is contained in:
parent
2538851beb
commit
ce315cdf4d
|
@ -215,7 +215,8 @@ if (isset($_GET["expired"])){
|
||||||
$categories = array();
|
$categories = array();
|
||||||
if(isset($_GET['categoryids']) && $_GET['categoryids']) {
|
if(isset($_GET['categoryids']) && $_GET['categoryids']) {
|
||||||
foreach($_GET['categoryids'] as $catid) {
|
foreach($_GET['categoryids'] as $catid) {
|
||||||
$categories[] = $dms->getDocumentCategory($catid);
|
if($catid > 0)
|
||||||
|
$categories[] = $dms->getDocumentCategory($catid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user