Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
Yii Bootstrap 3
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Common
Yii Bootstrap 3
Commits
379b067a
Commit
379b067a
authored
Apr 24, 2012
by
Christoffer Niska
Browse files
Options
Browse Files
Download
Plain Diff
Merged in Mytskine/yii-bootstrap/fix_BootMenu (pull request #18)
parents
b6170f31
707c01ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
BootDropdown.php
widgets/BootDropdown.php
+4
-0
BootMenu.php
widgets/BootMenu.php
+4
-0
No files found.
widgets/BootDropdown.php
View file @
379b067a
...
@@ -96,6 +96,10 @@ class BootDropdown extends BootBaseMenu
...
@@ -96,6 +96,10 @@ class BootDropdown extends BootBaseMenu
continue
;
continue
;
}
}
if
(
!
is_array
(
$item
))
{
continue
;
}
if
(
!
isset
(
$item
[
'label'
]))
if
(
!
isset
(
$item
[
'label'
]))
$item
[
'label'
]
=
''
;
$item
[
'label'
]
=
''
;
...
...
widgets/BootMenu.php
View file @
379b067a
...
@@ -179,6 +179,10 @@ class BootMenu extends BootBaseMenu
...
@@ -179,6 +179,10 @@ class BootMenu extends BootBaseMenu
continue
;
continue
;
}
}
if
(
!
is_array
(
$item
))
{
continue
;
}
if
(
!
isset
(
$item
[
'label'
]))
if
(
!
isset
(
$item
[
'label'
]))
$item
[
'label'
]
=
''
;
$item
[
'label'
]
=
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment