Skip to content

Conversation

@PowerGamer1
Copy link
Contributor

Q A
Is bugfix? yes
New feature? no
Breaks BC? no
Tests pass? yes
Fixed issues -

Two changes:

  1. Documented previously undocumented 'encode' item option.
  2. Moved is_string($item) check to occur BEFORE $item is handled as array. When $item is a string $item['visible'] would not be an error and will return the first character of that string. Doing !$item['visible'] on the first character of a string does not make any sense.

Two changes:
1. Documented previously undocumented 'encode' item option.
2. Moved `is_string($item)` check to occur BEFORE `$item` is handled as array. When `$item` is a string `$item['visible']` would not be an error and will return the first character of that string. Doing `!$item['visible']` on the first character of a string does not make any sense.
@samdark samdark added this to the 2.0.7 milestone Jul 27, 2016
@samdark samdark self-assigned this Jul 27, 2016
@samdark samdark added type:enhancement Enhancement type:docs Documentation labels Jul 27, 2016
@samdark samdark merged commit f41768b into yiisoft:master Jul 27, 2016
@samdark
Copy link
Member

samdark commented Jul 27, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:docs Documentation type:enhancement Enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants