Attached Files | 0001-BUG-Fix-a-typo.patch [^] (1,000 bytes) 2013-12-07 18:03 [Show Content] [Hide Content]From b8d38d1ca8829097e165970f9d3b0c18e463e93b Mon Sep 17 00:00:00 2001
From: Igor Murzov <e-mail@date.by>
Date: Fri, 9 Aug 2013 19:31:16 +0400
Subject: [PATCH] BUG: Fix a typo
This commit fixes the following error:
PHP Notice: Undefined variable: coveragestatus in
/var/www/cdash/ajax/getviewcoverage.php on line 299
---
ajax/getviewcoverage.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ajax/getviewcoverage.php b/ajax/getviewcoverage.php
index 456d326..429f54e 100644
--- a/ajax/getviewcoverage.php
+++ b/ajax/getviewcoverage.php
@@ -288,7 +288,7 @@ if($userid)
usort($covfile_array,"sort_array");
// Add the untested files if the coverage is low
- if($coveragestatus == 0)
+ if($status == 0)
{
$sql = "SELECT cf.fullpath,cfp.priority".$SQLDisplayAuthor." FROM coverage AS c,coveragefile AS cf ".$SQLDisplayAuthors."
LEFT JOIN coveragefilepriority AS cfp ON (cfp.fullpath=cf.fullpath AND projectid=".qnum($projectid).")
--
1.8.4
|