?
avatar prma85
prma85
25 Jun 2014

Steps to reproduce the issue

Enable show warnings in php
Give warnings in libraries/joomla/application/module/helper.php

Expected result

No warnings

Actual result

Warning on line 200 e line 209

System information (as much as possible)

Joomla 2.5.22
PHP 5.5.9
Cent OS 6

Correction

Put this code in line 197.

if (is_string($attribs)) {
$t = explode(',', $attribs);
$attribs = array();
foreach ($t as $a) {
if (!empty($a)) {
$b = explode('=', $a);
$attribs[$b[0]] = $b[1];
}
}
}

avatar prma85 prma85 - open - 25 Jun 2014
avatar Bakual
Bakual - comment - 25 Jun 2014

Since you already propose a solution, can you please do a Pull Request?
It's simpler than it sounds. Have a look at http://docs.joomla.org/Using_the_Github_UI_to_Make_Pull_Requests for how to use the GitHub UI to do that.
That would be really helpful.

avatar prma85 prma85 - reference | - 2 Jul 14
avatar prma85 prma85 - reference | - 2 Jul 14
avatar brianteeman
brianteeman - comment - 27 Aug 2014

You havent made a Pull Request against Joomla - just your own fork. ;)

avatar brianteeman brianteeman - change - 27 Aug 2014
Status New Pending
avatar brianteeman brianteeman - change - 21 Sep 2014
Category Libraries
avatar nicksavov
nicksavov - comment - 15 Oct 2014

Hi @prma85 ,

When you click the Pull icon, make sure you change the base repo to be joomla/joomla-cms , as in this screenshot:
http://docs.joomla.org/File:Easygithub7.png

avatar nicksavov nicksavov - change - 15 Oct 2014
Labels Added: ?
avatar aDaneInSpain
aDaneInSpain - comment - 17 Oct 2014

This issue is no longer represented in the code. The lines numbers mentioned in the original issue does not correspond with the proposed fix. And as far as I could tell, nothing in that file should give any notices, so I think we can close this issue.

avatar brianteeman
brianteeman - comment - 17 Oct 2014

@aDaneInSpain just confirming before I close this that you were checking against 2.5

avatar aDaneInSpain
aDaneInSpain - comment - 17 Oct 2014

Yes, I was.

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

avatar brianteeman
brianteeman - comment - 17 Oct 2014

Thanks for confirming that @adaneinspain
I am going to close this for now as an uncomfirmed report as it is against an old release of 2.5 it can always be reopened if further information etc is provided.



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

avatar jissues-bot
jissues-bot - comment - 17 Oct 2014
avatar zero-24 zero-24 - close - 17 Oct 2014
avatar jissues-bot jissues-bot - close - 17 Oct 2014
avatar brianteeman brianteeman - change - 17 Oct 2014
Status Pending Closed - Unconfirmed Report
avatar jissues-bot jissues-bot - change - 17 Oct 2014
Closed_Date 0000-00-00 00:00:00 2014-10-17 10:41:56
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment