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;
        }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to