Backported the bugfix from http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=31610 to 2.5.x
Update helper.php

Tracker: #28349
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=28349&start=0
Merge remote branch 'origin/2.5.x' into 25-jhttpfix
# [#32599] Register Email multilingual Problem in Joomla! 2.5.16  Thanks
Panagiotis Chatzikamaris
(Fix #2460)
 # [#31055] Smart Search does not remove search phrases from index when
saving an article.  Thanks Chris Davenport
 # [#30648] Incorrect ID for trash toolbar button when message is added
Thanks Jurian Even
(Fix #1243)
 # [#29596] Inefficient code  Thanks Ben tasker
(Fix #812)
Merge pull request #2452 from zero-24/patch-9

Regression fix: module article news show old news first [2.5.x]
 # [#32608] After update 2.5.14=>2.5.16 the com_update produces errors
Thanks David Jardin
(Fix #2500)
[#32578] [2.5] Argument 1 passed to JHttpTransportStream::getResponse() must be an array (Fix #2530)
Add phpdoc task to build.xml for API documentation
Merge pull request #2387 from SniperSister/25-jhttpfix

Backported a bugfix for the JHTTP-Library causing broken updater
JApplicationDaemon using PHP 5.3+ syntax
 # [#26551] Multiple instances of script and css declarations with
enabled caching  Thanks Dennis Hermatski
 # [#32812] *Wrong JText causes double string use
(Fix #2595)
Added cURL support for reCAPTCHA plugin