cvs: php4 /pear/Crypt HCEMD5.php
| From: | Chuck Hagenbuch | Date: | Wed, 03 Jan 2001 03:42:38 +0000 |
| Subject: | cvs: php4 /pear/Crypt HCEMD5.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3334@lists.php.net to get a copy of this message | ||
chagenbu Tue Jan 2 19:42:38 2001 EDT
Modified files:
/php4/pear/Crypt HCEMD5.php
Log:
fix silly bug introduced by wrong order of arguments. this is slightly more
elegant, anyway...
Index: php4/pear/Crypt/HCEMD5.php
diff -u php4/pear/Crypt/HCEMD5.php:1.3 php4/pear/Crypt/HCEMD5.php:1.4
--- php4/pear/Crypt/HCEMD5.php:1.3 Mon Dec 18 11:44:01 2000
+++ php4/pear/Crypt/HCEMD5.php Tue Jan 2 19:42:38 2001
@@ -216,7 +216,7 @@
*/
function decodeMimeSelfRand($data)
{
- if (!strstr('#', $data)) {
+ if (strpos($data, '#') === false) {
return false;
}