Pārlūkot izejas kodu

careful lewis.. a variable was inside ''. :)

Luke Ehresman 24 gadi atpakaļ
vecāks
revīzija
54a58f6be5
1 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 4 3
      functions/strings.php

+ 4 - 3
functions/strings.php

@@ -191,9 +191,9 @@
          }
          }
          
          
          if ($Quotes > 1)
          if ($Quotes > 1)
-            $line = '<FONT COLOR="FF0000">$line</FONT>';
+            $line = '<FONT COLOR="FF0000">'.$line.'</FONT>';
          elseif ($Quotes)
          elseif ($Quotes)
-            $line = '<FONT COLOR="800000">$line</FONT>';
+            $line = '<FONT COLOR="800000">'.$line.'</FONT>';
 
 
          $body_ary[$i] = $line;
          $body_ary[$i] = $line;
       }
       }
@@ -496,6 +496,7 @@
           
           
       sq_mt_randomize(); // Initialize the random number generator
       sq_mt_randomize(); // Initialize the random number generator
     
     
+	  $String = "";
       while (strlen($String) < $size) {
       while (strlen($String) < $size) {
          $String .= $chars[mt_rand(0, strlen($chars))];
          $String .= $chars[mt_rand(0, strlen($chars))];
       }
       }
@@ -503,4 +504,4 @@
       return $String;
       return $String;
    }
    }
 
 
-?>
+?>