Skip to content

Commit

Permalink
Update TestPlanResults.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TurboPT authored Mar 1, 2018
1 parent cac9b6a commit adeddb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TestPlanResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
$result2 = DB_query("SELECT count(testid) FROM prodspecs
WHERE testid = '".$myrow['testid']."'
AND keyval='".$myrow['prodspeckey']."'");
$myrow2 = DB_fetch_row($result2);;
$myrow2 = DB_fetch_row($result2);
if($myrow2[0]>0) {
$ManuallyAdded=0;
} else {
Expand All @@ -346,7 +346,7 @@
$result2 = DB_query("SELECT resultid, targetvalue,rangemin, rangemax FROM sampleresults
WHERE testid = '".$myrow['testid']."'
AND sampleid='".$_POST['CopyToSampleID']."'");
$myrow2 = DB_fetch_array($result2);;
$myrow2 = DB_fetch_array($result2);
$IsInSpec=1;
$CompareVal='yes';
$CompareRange='no';
Expand Down Expand Up @@ -657,7 +657,7 @@
WHERE sampleid = '".$SelectedSampleID."'
AND showoncert='1'
AND testvalue=''");
$myrow = DB_fetch_row($result);;
$myrow = DB_fetch_row($result);
if($myrow[0]>0) {
$sql = "UPDATE qasamples SET identifier='" . $_POST['Identifier'] . "',
comments='" . $_POST['Comments'] . "',
Expand Down Expand Up @@ -952,4 +952,4 @@
}

include('includes/footer.php');
?>
?>

0 comments on commit adeddb1

Please sign in to comment.