Index: apachesolr.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr.module,v
retrieving revision 1.1.2.12.2.155.2.107
diff -u -p -r1.1.2.12.2.155.2.107 apachesolr.module
--- apachesolr.module	1 Sep 2010 15:16:43 -0000	1.1.2.12.2.155.2.107
+++ apachesolr.module	1 Sep 2010 15:19:58 -0000
@@ -1639,7 +1639,7 @@ function apachesolr_server_status($host 
  *
  * @throws Exception
  */
-function apachesolr_do_query($caller, $current_query, $params = array('rows' => 10), $page = 0) {
+function apachesolr_do_query($caller, $current_query, &$params = array('rows' => 10), $page = 0) {
   // Allow modules to alter the query prior to statically caching it.
   // This can e.g. be used to add available sorts.
   foreach (module_implements('apachesolr_prepare_query') as $module) {
