FML Update 1.4
This commit is contained in:
1 parent
44cc71c328
commit
300d817409
50 files changed
+123
-112
No files matched your search
@@ -26,10 +26,10 @@ class MenuElement {
|
||||
* @param Control $control (optional) Toggled Menu Control
|
||||
*/
|
||||
public function __construct(Control $item = null, Control $control = null) {
|
||||
if (!is_null($item)) {
|
||||
if ($item !== null) {
|
||||
$this->setItem($item);
|
||||
}
|
||||
if (!is_null($control)) {
|
||||
if ($control !== null) {
|
||||
$this->setControl($control);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user