Islandora/islandora_solr_search — pull request #126 by rosiel (2013-05-06 18:10:09+00:00)
Title: Fixed bizarre php bug(?) where not all keywords were being copied into ...

...the results array. See similar problem here: http://stackoverflow.com/questions/775463/ignorance-or-bug-on-phps-foreach-construct

It would appear that having defined $value as being a reference variable above, using it again in the foreach loop was a bad plan - causing the original array $original to actually be modified during the foreach loop.

I changed the name of the variable. It solved the problem.