mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°3123 - Fix create new object link
This commit is contained in:
@@ -981,9 +981,9 @@ JS
|
||||
*/
|
||||
protected function RenderList(array $aExtraParams, WebPage $oPage)
|
||||
{
|
||||
$oBlock = new BlockList();
|
||||
$aClasses = $this->m_oSet->GetSelectedClasses();
|
||||
$aAuthorizedClasses = [];
|
||||
$oBlock = new BlockList();
|
||||
$oBlock->bEmptySet = false;
|
||||
$oBlock->bNotAuthorized = false;
|
||||
$oBlock->bCreateNew = false;
|
||||
@@ -992,6 +992,7 @@ JS
|
||||
$oBlock->sParams = '';
|
||||
$oBlock->sDefault = '';
|
||||
$oBlock->sEventAttachedData = '';
|
||||
$oBlock->sAbsoluteUrlAppRoot = utils::GetAbsoluteUrlAppRoot();
|
||||
|
||||
if (count($aClasses) > 1) {
|
||||
// Check the classes that can be read (i.e authorized) by this user...
|
||||
|
||||
Reference in New Issue
Block a user