]> git.pld-linux.org Git - packages/php.git/blob - php-5.3.7-bug-54221.patch
use /usr/sbin/php-fpm as other branches
[packages/php.git] / php-5.3.7-bug-54221.patch
1 --- PHP_5_3/ext/mysqli/mysqli_warning.c 2011/03/17 10:13:20     309338
2 +++ PHP_5_3/ext/mysqli/mysqli_warning.c 2011/03/17 10:28:53     309339
3 @@ -197,7 +197,7 @@
4  
5                 MYSQLI_FETCH_RESOURCE(w, MYSQLI_WARNING *, &mysqli_warning, "mysqli_warning", MYSQLI_STATUS_VALID);
6  
7 -               if (w->next) {
8 +               if (w && w->next) {
9                         w = w->next;
10                 ((MYSQLI_RESOURCE *)(obj->ptr))->ptr = w;
11                         RETURN_TRUE;
This page took 0.028958 seconds and 3 git commands to generate.