]> git.pld-linux.org Git - packages/php.git/blob - php-5.2.17-bug-54682.patch
use /usr/sbin/php-fpm as other branches
[packages/php.git] / php-5.2.17-bug-54682.patch
1 diff -up php-5.2.17/ext/tidy/tidy.c.bug-54682 php-5.2.17/ext/tidy/tidy.c
2 --- php-5.2.17/ext/tidy/tidy.c.bug-54682        2012-01-12 11:42:01.000000000 +0700
3 +++ php-5.2.17/ext/tidy/tidy.c  2012-01-12 11:42:17.000000000 +0700
4 @@ -1178,7 +1178,7 @@ static PHP_FUNCTION(tidy_diagnose)
5  {
6         TIDY_FETCH_OBJECT;
7  
8 -       if (tidyRunDiagnostics(obj->ptdoc->doc) >= 0) {
9 +       if (tidyStatus(obj->ptdoc->doc) != 0 && tidyRunDiagnostics(obj->ptdoc->doc) >= 0) {
10                 tidy_doc_update_properties(obj TSRMLS_CC);
11                 RETURN_TRUE;
12         }
This page took 0.024371 seconds and 3 git commands to generate.