mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
check if $selrole is set
This commit is contained in:
parent
8d5e6d9d14
commit
c7836aabfe
|
@ -265,6 +265,7 @@ $(document).ready( function() {
|
|||
<?php
|
||||
$this->contentHeading(getMLText("access_control"));
|
||||
|
||||
if($selrole) {
|
||||
$aro = SeedDMS_Aro::getInstance($selrole, $dms);
|
||||
if(!$aro) {
|
||||
$this->warningMsg(getMLText("missing_request_object"));
|
||||
|
@ -274,6 +275,7 @@ $(document).ready( function() {
|
|||
<div id="acostree" data-url="out.Acl.php?action=tree&roleid=<?= ($selrole ? $selrole->getID() : 0) ?>">Berechtigungen werden geladen ...</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user