cvs: php4 /ext/standard basic_functions.c
| From: | Yasuo Ohgaki | Date: | Thu, 03 Oct 2002 09:19:31 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14454@lists.php.net to get a copy of this message | ||
yohgaki Thu Oct 3 05:19:31 2002 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
Fixed broken higlight_string()
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.518 php4/ext/standard/basic_functions.c:1.519
--- php4/ext/standard/basic_functions.c:1.518 Thu Oct 3 03:17:12 2002
+++ php4/ext/standard/basic_functions.c Thu Oct 3 05:19:31 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.518 2002/10/03 07:17:12 yohgaki Exp $ */
+/* $Id: basic_functions.c,v 1.519 2002/10/03 09:19:31 yohgaki Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -2077,6 +2077,7 @@
convert_to_string(expr);
if (i) {
+ php_output_set_status(0 TSRMLS_CC);
php_start_ob_buffer (NULL, 0, 1 TSRMLS_CC);
}
@@ -2093,6 +2094,7 @@
if (i) {
php_ob_get_buffer (return_value TSRMLS_CC);
php_end_ob_buffer (0, 0 TSRMLS_CC);
+ php_output_set_status(1 TSRMLS_CC);
} else {
RETURN_TRUE;
}