Empty control panel present arbitrary menu item
Bug #1011661 reported by
Greg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PHPDevShell |
Fix Committed
|
Medium
|
Greg |
Bug Description
When a give menu item is an alias of the "control panel", but is empty, it shows the icon of an arbitrary menu item (in my case "optimise database").
This is why:
in controlPanel.
after this loop, if $this->cp[] is empty, this code is executed:
if (empty($this->cp)) {
$this-
}
I don't understand the meaning of this, since, $m is the last iteration of the loop, it's clealry not desireable. I think these lines can be delete, why maybe there's a reason for them being here?
Changed in phpdevshell: | |
importance: | Undecided → Medium |
Changed in phpdevshell: | |
assignee: | nobody → Greg (gregfr) |
status: | New → Fix Committed |
Changed in phpdevshell: | |
milestone: | none → 3.2.1-stable |
Changed in phpdevshell: | |
milestone: | 3.2.1-stable → 3.5 |
To post a comment you must log in.