? ? Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
11 Feb 2017

Testing Instructions

  • multilanguage
  • php 7.1.1
    go to com_tags and click on search tools and filter for tag type (article for example)

Expected result

no warning

Actual result

warining

avatar alikon alikon - open - 11 Feb 2017
avatar alikon alikon - change - 11 Feb 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Feb 2017
Category com_tags Administration
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Feb 2017

Confirmed (mamp)

avatar jeckodevelopment
jeckodevelopment - comment - 11 Feb 2017

@franz-wohlkoenig is it a successful test?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Feb 2017

Confirmed "Warning" @alikon reported.

avatar joomdonation
joomdonation - comment - 12 Feb 2017

@alikon According to PHP manual http://fr2.php.net/manual/en/function.call-user-func.php , to pass parameters by reference, you can use call_user_func_array instead

So maybe the code could be changed to

call_user_func_array(array($cName, 'countTagItems'), array(&$items, $extension));
avatar tuts-22
tuts-22 - comment - 13 Feb 2017

I have tested this item successfully on ce4a9dd

The code works perfectly fine!!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14026.
avatar tuts-22 tuts-22 - test_item - 13 Feb 2017 - Tested successfully
avatar alikon
alikon - comment - 13 Feb 2017

@joomdonation $cName::countTagItems($items, $extension); seems more readable to me

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 14 Feb 2017

I have tested this item successfully on ce4a9dd


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 14 Feb 2017 - Tested successfully
avatar zero-24 zero-24 - change - 14 Feb 2017
The description was changed
Milestone Added:
Status Pending Ready to Commit
Labels Added: ? ?
avatar zero-24 zero-24 - edited - 14 Feb 2017
avatar rdeutz rdeutz - change - 15 Feb 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-02-15 19:13:55
Closed_By rdeutz
Labels
avatar rdeutz rdeutz - close - 15 Feb 2017
avatar rdeutz rdeutz - merge - 15 Feb 2017

Add a Comment

Login with GitHub to post a comment