cvs: php3 /functions string.c
| From: | Rasmus Lerdorf | Date: | Sun, 30 Jul 2000 05:09:46 +0000 |
| Subject: | cvs: php3 /functions string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-987@lists.php.net to get a copy of this message | ||
rasmus Sat Jul 29 22:09:46 2000 EDT
Modified files:
/php3/functions string.c
Log:
Fix strip_tags() bug as per bug #5857
Index: php3/functions/string.c
diff -u php3/functions/string.c:1.213 php3/functions/string.c:1.214
--- php3/functions/string.c:1.213 Thu Jul 20 16:11:12 2000
+++ php3/functions/string.c Sat Jul 29 22:09:46 2000
@@ -30,7 +30,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.213 2000/07/20 23:11:12 hholzgra Exp $ */
+/* $Id: string.c,v 1.214 2000/07/30 05:09:46 rasmus Exp $ */
#include <stdio.h>
#include "php.h"
#include "internal_functions.h"
@@ -1993,6 +1993,7 @@
} else if (state == 2) {
if (!br && lc != '\"' && *(p-1)=='?') {
state = 0;
+ tp = tbuf;
}
}
break;