com web/qa: QA REPORT fix typo (nice catch Alexey): reports/index.php
| From: | Olivier Doucet | Date: | Sun, 08 Apr 2012 15:06:44 +0000 |
| Subject: | com web/qa: QA REPORT fix typo (nice catch Alexey): reports/index.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-66229@lists.php.net to get a copy of this message | ||
Commit: a211753c356e968477dcbdb16ca52b872d8f1ac0
Author: Olivier Doucet <odoucet@php.net> Sun, 8 Apr 2012 17:06:44 +0200
Parents: 9ebc1790cf3eaee93dd5f43d6c247956b5c1e7f3
Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=a211753c356e968477dcbdb16ca52b872d8f1ac0
Log:
QA REPORT fix typo (nice catch Alexey)
Changed paths:
M reports/index.php
Diff:
diff --git a/reports/index.php b/reports/index.php
index e8d09fc..51c1b58 100644
--- a/reports/index.php
+++ b/reports/index.php
@@ -51,7 +51,7 @@ if (isset($_GET['version'])) {
$failedTestsArray = array();
// Do we add expected failed ?
- if (isset($_GET['expect']) & $_GET['expect'] == 1) {
+ if (isset($_GET['expect']) && $_GET['expect'] == 1) {
$query = 'SELECT \'xfail\' as xfail, test_name,COUNT(expectedfail.id) as
cpt,\'-\' as variations,
datetime(date) as date FROM expectedfail,reports WHERE expectedfail.id_report =
reports.id
GROUP BY test_name ORDER BY cpt DESC LIMIT ' . $limit;