Commits

Anonymous committed 0591ee3

Fix deprecated call-time pass by reference (issue #15).

Comments (0)

Files changed (1)

  * TODO: Change this to proper base62_encode :) */
 function auth_ab64_encode($i) {
     $t = base64_encode($i);
-    $t = str_replace("+", "a", &$t);
-    $t = str_replace("/", "b", &$t);
-    $t = str_replace("=", "c", &$t);
+    $t = str_replace("+", "a", $t);
+    $t = str_replace("/", "b", $t);
+    $t = str_replace("=", "c", $t);
     return $t;
 }