Is there a special reason why we are doing a preg_split on a long string if we can just as well walk through an array?
It really looks ugly and heavy-lifting, so in case there is no reason, here's a patch.

CommentFileSizeAuthor
amazon_store_variable_del.patch1.85 KBpancho

Comments

rfay’s picture

Status: Needs review » Reviewed & tested by the community

There's no reason not to do it with an array, and the array is better.

pancho’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.