Skip to content

Check if array property exists#18123

Closed
ghost wants to merge 1 commit intostagingfrom
unknown repository
Closed

Check if array property exists#18123
ghost wants to merge 1 commit intostagingfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Sep 26, 2017

Pull Request for Issue #18043

Summary of Changes

Added one line above 183

Testing Instructions

Expected result

Actual result

Documentation Changes Required

@C-Lodder
Copy link
Copy Markdown
Member

Could you please add some testing instructions?


// If menuitem has no key set, we assume 0.
if (!isset($item->query[$views[$view]->key]))
if(!empty($view))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a space after if.
Missing { and } for the newly added if.

@Quy
Copy link
Copy Markdown
Contributor

Quy commented Sep 26, 2017

Duplicate #17323 @CoderDynamic Please test.

@ghost
Copy link
Copy Markdown

ghost commented Sep 26, 2017

@Quy i closed #17323, should this also be closed as duplicate PR?

@Quy
Copy link
Copy Markdown
Contributor

Quy commented Sep 26, 2017

Yes, please.

@joomla-cms-bot
Copy link
Copy Markdown

Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18123

@ghost
Copy link
Copy Markdown

ghost commented Sep 26, 2017

closed as duplicate Pull Request.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18123.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants