Skip to content

Obviously, this should be an array.#11610

Merged
roland-d merged 1 commit intojoomla:stagingfrom
okonomiyaki3000:use-array-not-null
Aug 15, 2016
Merged

Obviously, this should be an array.#11610
roland-d merged 1 commit intojoomla:stagingfrom
okonomiyaki3000:use-array-not-null

Conversation

@okonomiyaki3000
Copy link
Copy Markdown
Contributor

@okonomiyaki3000 okonomiyaki3000 commented Aug 15, 2016

Pull Request for Issue # .

Summary of Changes

A variable was initialized as null which should only ever be an array.
It could cause problems when using a proxy and the stream transport because the variable might end up being passed to implode which is expecting an array.

Testing Instructions

In order to test this, you must have a proxy configured and you must use the stream transport which means disabling php's curl extension. I would suggest approving this based on code review instead since it's very simple and obvious.

Documentation Changes Required

I'm sure none.

@andrepereiradasilva
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 0895ff6

code review


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

@jeckodevelopment
Copy link
Copy Markdown
Member

I have tested this item ✅ successfully on 0895ff6


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

@zero-24
Copy link
Copy Markdown
Contributor

zero-24 commented Aug 15, 2016

RTC Thanks.


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 15, 2016
@roland-d roland-d added this to the Joomla 3.6.3 milestone Aug 15, 2016
@roland-d roland-d merged commit 7a07faa into joomla:staging Aug 15, 2016
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 15, 2016
izharaazmi added a commit to izharaazmi/joomla-cms that referenced this pull request Aug 15, 2016
* re-arrayhelper-min: (2467 commits)
  Minimize JArrayHelper methods `toInteger`, `pivot`, `arrayUnique` by using Joomla\Utilities\ArrayHelper internally. Leaving (reverting from joomla#7782) other four methods as is for b/c reasons as mentioned in joomla#8455.
  remove platform include (joomla#11615)
  [GitHub Templates] Make headings bigger (joomla#11607)
  [com_contact] Make ACL core.edit.own work (PR for 11466) (joomla#11503)
  Small review on docs & code structure in JModelLegacy library classes (joomla#11057)
  Obviously, this should be an array. (joomla#11610)
  Don't manually import JPlatform anymore (joomla#10841)
  Parse preprocess rules from component routers (joomla#8986)
  Add the correct exception after 11593 merge (was waiting for that merrge) (joomla#11606)
  Add missing clean line after joomla#9277 (joomla#11605)
  Deprecate the _PROFILER global var (joomla#10845)
  Spelling errors (joomla#11604)
  Moved travis javascript bash file to build/travis like joomla#11600 (joomla#11603)
  Regression: Fix edit check in backend articles manager, always denying edit after soft deny (joomla#11511)
  [com_plugins] User not allowed to core.manage? Use 403 php custom exception (instead of a 404 JError) (joomla#11593)
  [com_newsfeeds] Make ACL core.edit.own work (PR for 11466) (joomla#11502)
  $result-variable-undefined-given-default-value (joomla#9277)
  com_banners use exceptions. and not allowed is a 403 (joomla#11418)
  Frontend & plugins using the autoloader (joomla#10882)
  New version of PR 6788 (JText::_() Optimizations) (joomla#11235)
  ...
@okonomiyaki3000 okonomiyaki3000 deleted the use-array-not-null branch August 15, 2016 23:56
ggppdk pushed a commit to ggppdk/joomla-cms that referenced this pull request Aug 19, 2016
roland-d pushed a commit to roland-d/joomla-cms that referenced this pull request Sep 11, 2016
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.

6 participants