Closed (fixed)
Project:
Theme Editor
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
9 Aug 2011 at 04:46 UTC
Updated:
23 Aug 2011 at 14:31 UTC
Jump to comment: Most recent file
Found code arrays that use the += operator to merge arrays - php does not allow this.
rewrite this to use array_merge. $x + = $y becomes $x = array_merge( $x, $y );
reviews needed, regression testing.
N/A
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1243496.patch | 2.01 KB | Kevin Baluha |
Comments
Comment #1
Kevin Baluha commentedComment #2
Kevin Baluha commentedComment #3
arcaneadam commentedA couple things.
1. PHP does use the '+' as an array union operator. (http://php.net/manual/en/language.operators.array.php) So if this is causing your site to have 500 errors then there is probably an underlying issue elsewhere (possibly).
2. The 7.x version is still very much a development version at this point. Therefore it's going to be buggy and not ready for prime time.
3. Please read the Issue queue handbook(http://drupal.org/node/317) on how the issue queues work. I'm not a a jerk about it in my issue queue but I can guarantee that as you get more involved some other project maintainers will gripe at you if you are not filing issues correctly, or worse just flat out ignore the issue you are having because you didn't file it correctly.
I appreciate your desire to help with the project and as I said the 7.x version is not ready for production yet, so take it as it is, but I am working on it.