* Fix bug #16385 and fix an error.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<?php foreach($lang->mainNav as $menuKey => $menu):?>
|
||||
<?php if(!is_string($menu)) continue;?>
|
||||
<?php list($moduleName, $module) = explode('|', $menu);?>
|
||||
<?php if($module == 'my') continue;?>
|
||||
<?php if($menuKey == 'my') continue;?>
|
||||
<?php $moduleName = strip_tags($moduleName);?>
|
||||
<div class='group-item'>
|
||||
<div class='checkbox-primary'>
|
||||
|
||||
@@ -328,7 +328,7 @@ class stakeholderModel extends model
|
||||
}
|
||||
}
|
||||
|
||||
if(empty($parents)) return false;
|
||||
if(empty($parents)) return array();
|
||||
|
||||
/* Get all parent stakeholders.*/
|
||||
$parentStakeholders = $this->dao->select('objectID, user')->from(TABLE_STAKEHOLDER)->where('objectID')->in(array_keys($parents))->andWhere('deleted')->eq('0')->fetchAll();
|
||||
|
||||
Reference in New Issue
Block a user