mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
set 'setcategory' in view
This commit is contained in:
parent
7da093ff4e
commit
c5b5ac07db
|
@ -37,15 +37,15 @@ if (!$user->isAdmin()) {
|
|||
}
|
||||
|
||||
if(isset($_GET['categoryid']))
|
||||
$selcategoryid = $_GET['categoryid'];
|
||||
$selcategory = $dms->getKeywordCategory($_GET['categoryid']);
|
||||
else
|
||||
$selcategoryid = 0;
|
||||
$selcategory = null;
|
||||
|
||||
$categories = $dms->getAllUserKeywordCategories($user->getID());
|
||||
|
||||
if($view) {
|
||||
$view->setParam('categories', $categories);
|
||||
$view->setParam('selcategoryid', $selcategoryid);
|
||||
$view->setParam('selcategory', $selcategory);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
|
|
Loading…
Reference in New Issue
Block a user