Minor plugin compatibility fix to Special:Search
authorDan
Sun, 31 May 2009 23:26:40 -0400
changeset 1018 3e3118285700
parent 1017 d0d3da40c391
child 1019 ea039091d154
Minor plugin compatibility fix to Special:Search
plugins/SpecialSearch.php
--- a/plugins/SpecialSearch.php	Sun May 31 23:26:24 2009 -0400
+++ b/plugins/SpecialSearch.php	Sun May 31 23:26:40 2009 -0400
@@ -185,6 +185,8 @@
     
     $per_page = 10;
     $start = ( isset($_GET['start']) ? intval($_GET['start']) : 0 );
+    // for plugin compatibility:
+    $offset =& $start;
     $start_string = $start + 1;
     $per_string = $start_string + $per_page - 1;
     $num_results = count($results);