HOR-3403
This commit is contained in:
@@ -283,7 +283,7 @@ class Menu
|
|||||||
*/
|
*/
|
||||||
public function DisableOptionId($id)
|
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;
|
$this->Enabled[array_search($id, $this->Id)] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user