Issue #1189246 by mlncn: Removed deprecated pass-by-reference usage
authorishan
Sun, 19 Jun 2011 11:48:03 +0000 (16:48 +0530)
committerishan
Sun, 19 Jun 2011 11:48:03 +0000 (16:48 +0530)
base.inc

index aac2eed..308d6cf 100644 (file)
--- a/base.inc
+++ b/base.inc
@@ -89,10 +89,10 @@ abstract class BaseMigration extends Migration {
     $wordArr = explode(" ", $word);
     for ($i=0;$i<count($wordArr);$i++) {
       if ($wordArr[$i] == "<link") {
-        $this->remove_words_after_position(&$wordArr, $i, ">");
+        $this->remove_words_after_position($wordArr, $i, ">");
       }
     } 
-    $finalArr =  $this->handle_space_word(&$wordArr);
+    $finalArr =  $this->handle_space_word($wordArr);
     $word = implode(" ", $finalArr);
     $word = str_ireplace("<link ", '<a href="', $word);
     $word = str_ireplace("</link>", '</a>', $word);