[PATCH appdb] Re-enable staging checkbox for new test reports

Rosanne DiMesio dimesio at earthlink.net
Wed Apr 11 08:54:06 CDT 2018


Reverts 6150f43320843dd39da749437a7d73a9374a609e.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
 include/testData.php | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/include/testData.php b/include/testData.php
index cec7fec..2b6dbff 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -921,14 +921,11 @@ class testData{
         echo "<span>Version not listed?  Your Wine is too old, <a href=\"//winehq.org/download\">upgrade!</a></span><br>";
         // Checkbox for Wine-staging
         echo '<label class="btn btn-secondary">';
-        if($this->sState != 'accepted')
-            echo '<input type="checkbox" name="iStaging" value="1" disabled>';
+        if($this->iStaging != 0)
+            echo '<input type="checkbox" name="iStaging" value="1" checked>';  
         else
-            if($this->iStaging != 0)
-                echo '<input type="checkbox" name="iStaging" value="1" checked>';  
-            else
-                echo '<input type="checkbox" name="iStaging" value="1">';
-        echo '  Wine-staging <i>(discontinued; last official release was 2.21)</i>';
+            echo '<input type="checkbox" name="iStaging" value="1">';
+        echo '  Wine-staging';
         echo '</label>';
         echo '</td></tr>',"\n";
        
-- 
2.12.3




More information about the wine-devel mailing list