cvs: php4(PHP_4_0_7) /ext/xslt sablot.c

From: Date: Sat, 15 Dec 2001 12:30:24 +0000
Subject: cvs: php4(PHP_4_0_7) /ext/xslt sablot.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8644@lists.php.net to get a copy of this message
derick Sat Dec 15 07:30:24 2001 EDT Modified files: (Branch: PHP_4_0_7) /php4/ext/xslt sablot.c Log: - MFH crash bug fix in xslt_error Index: php4/ext/xslt/sablot.c diff -u php4/ext/xslt/sablot.c:1.19.2.3 php4/ext/xslt/sablot.c:1.19.2.4 --- php4/ext/xslt/sablot.c:1.19.2.3 Thu Nov 22 02:49:43 2001 +++ php4/ext/xslt/sablot.c Sat Dec 15 07:30:23 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sablot.c,v 1.19.2.3 2001/11/22 07:49:43 derick Exp $ */ +/* $Id: sablot.c,v 1.19.2.4 2001/12/15 12:30:23 derick Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -581,7 +581,11 @@ } ZEND_FETCH_RESOURCE(handle, php_xslt *, processor_p, -1, le_xslt_name, le_xslt); - RETURN_STRING(XSLT_ERRSTR(handle), 1); + if (XSLT_ERRSTR(handle)) { + RETURN_STRING(XSLT_ERRSTR(handle), 1); + } else { + RETURN_FALSE; + } } /* }}} */

« previous php.cvs (#8644) next »