From: Joe Watkins Date: Thu, 23 May 2019 11:09:18 +0000 (+0200) Subject: fix notice in run-tests X-Git-Tag: php-7.4.0alpha1~204 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=979e7d0feeb3995fde84bdc4e60ba856d6056954;p=php fix notice in run-tests --- diff --git a/run-tests.php b/run-tests.php index 7abc4aedee..99767d1d08 100755 --- a/run-tests.php +++ b/run-tests.php @@ -2693,7 +2693,7 @@ COMMAND $cmd if (isset($section_text['XFAIL'])) { $restype[] = 'XFAIL'; $info = ' XFAIL REASON: ' . rtrim($section_text['XFAIL']); - } else if ($section_text['XLEAK']) { + } else if (isset($section_text['XLEAK'])) { $restype[] = 'XLEAK'; $info = ' XLEAK REASON: ' . rtrim($section_text['XLEAK']); } else {