? Pending

User tests: Successful: Unsuccessful:

avatar demis-palma
demis-palma
14 Apr 2017

$current_update is declared as JUpdate, but actually it's a JTableUpdate instead.
If it was a JUpdate, the subsequent calls to properties $current_update->extra_query and $current_update->version would cause a fatal error, since they are protected properties.

It can be verified with the help of a the debugger.

avatar demis-palma demis-palma - open - 14 Apr 2017
avatar demis-palma demis-palma - change - 14 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Apr 2017
Category Libraries
avatar mbabker
mbabker - comment - 14 Apr 2017

Yes that is correct. update_sites is an array of associative arrays and updates is an array of JTableUpdate instances.

avatar wilsonge wilsonge - change - 16 Apr 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-04-16 20:14:00
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 16 Apr 2017
avatar wilsonge wilsonge - merge - 16 Apr 2017
avatar wilsonge
wilsonge - comment - 16 Apr 2017

Dunno if someone wants to amend the class properties in those two classes to be JTableUpdate[]

Add a Comment

Login with GitHub to post a comment