Merged in bugfix/HOR-3403 (pull request #5745)
HOR-3403 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
9097f8f5c9
@@ -283,7 +283,7 @@ class Menu
|
||||
*/
|
||||
public function DisableOptionId($id)
|
||||
{
|
||||
if (array_search($id, $this->Id)) {
|
||||
if (array_search($id, $this->Id) !== FALSE) {
|
||||
$this->Enabled[array_search($id, $this->Id)] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user