? Success

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
12 Jun 2015

PR Summary

This PR simply remove unnecessary condition check in elseif command. That check always return true (if it return false, the code in if block will be run), so it is not needed.

Testing

This can be seen easily from code review. So I think we just need to a maintainer to review and merge it.

I will do the the same modification for other components (has this same unnecessary code) if this PR is approved.

avatar joomdonation joomdonation - open - 12 Jun 2015
avatar joomla-cms-bot joomla-cms-bot - change - 12 Jun 2015
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 12 Jun 2015
Labels Added: ?
avatar Bakual Bakual - change - 12 Jun 2015
Labels Added: ?
avatar Bakual Bakual - change - 12 Jun 2015
Labels Added: ?
avatar Bakual
Bakual - comment - 12 Jun 2015

RTC based on review. Needs to be squashed before merging.

avatar Bakual Bakual - change - 12 Jun 2015
Milestone Added:
avatar zero-24 zero-24 - change - 12 Jun 2015
Category Components
avatar zero-24 zero-24 - change - 12 Jun 2015
Status New Pending
avatar zero-24 zero-24 - change - 12 Jun 2015
Status Pending Ready to Commit
avatar joomdonation
joomdonation - comment - 12 Jun 2015

Thanks Thomas for reviewing the code. I made the same fix for other views and a small bug fix (in my last commit). Please help review it again.

avatar Bakual Bakual - change - 12 Jun 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-06-12 12:17:05
Closed_By Bakual
avatar Bakual Bakual - close - 12 Jun 2015
avatar Bakual Bakual - close - 12 Jun 2015
avatar zero-24 zero-24 - close - 12 Jun 2015
avatar Bakual
Bakual - comment - 12 Jun 2015

Merged into staging, however without your last commit which is a complete unrelated change.

Please do a new PR with that fix as that one needs to be tested. Currently, the id always will be 0 (since $menu isn't defined). After your change it will have a value which may change the following checks.
Also the suppressed error (@$menu->query['id']) should be removed. If $menu isn't defined, we have a problem in the code we actually want to see :smile:

avatar joomdonation
joomdonation - comment - 12 Jun 2015

OK :D. For some reasons, your commit seems doesn't include the fix for article view? Could you check it or should I do it again for article view ?

avatar Bakual
Bakual - comment - 12 Jun 2015

Hmm, I didn't include the commit which you reverted with "Sorry, I updated wrong file before".
Feel free to create a new PR for that, I can merge it on review as well.

avatar joomdonation
joomdonation - comment - 12 Jun 2015

OK. I made a new PR #7164. Please help checking and merge it.

avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment