Minor bug fix, assignment in condition resulting in our seeding function to fail
authorcigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Oct 2004 06:37:38 +0000 (06:37 +0000)
committercigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Oct 2004 06:37:38 +0000 (06:37 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8265 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/strings.php

index 6e3c4473fa97254e3d6bcd92f5a46e243a2f60b9..792c0d0fb46f6af3a2f230fcd4216107a358c62a 100644 (file)
@@ -642,7 +642,7 @@ function sq_mt_seed($Val) {
         $Val *= -1;
     }
 
-    if ($Val = 0) {
+    if ($Val == 0) {
         return;
     }