mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°3294 - Introduce counters in OQL menu entries
This commit is contained in:
@@ -423,5 +423,15 @@ JS;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function GetOrgId(){
|
||||
$oAppContext = new ApplicationContext();
|
||||
$iCurrentOrganization = $oAppContext->GetCurrentValue('org_id');
|
||||
|
||||
if(!empty($iCurrentOrganization)) {
|
||||
return $iCurrentOrganization;
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user