Chris Morgan : Fix parsing errors by escapting apostophes added inside of strings

Chris Morgan cmorgan at winehq.org
Sat May 31 22:05:28 CDT 2008


Module: appdb
Branch: master
Commit: 017703632a83c1869beed4d495d2e0a0c3cf0cc6
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=017703632a83c1869beed4d495d2e0a0c3cf0cc6

Author: Chris Morgan <cmorgan at alum.wpi.edu>
Date:   Sat May 31 23:07:18 2008 -0400

Fix parsing errors by escapting apostophes added inside of strings

---

 include/testData.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/testData.php b/include/testData.php
index c2180a9..1de6749 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -944,7 +944,7 @@ class testData{
             if(getInput('bConfirmTestedVersionChange', $aClean) != 'true')
             {
                 echo '<tr><td class="color1">&nbsp;</td><td class="color0">';
-                echo 'You have changed the Wine version of the report.  Are you sure you want to do this?  Please submit a new test report for every Wine version you test; this is useful for tracking Wine's progress.<br>';
+                echo 'You have changed the Wine version of the report.  Are you sure you want to do this?  Please submit a new test report for every Wine version you test; this is useful for tracking Wine\'s progress.<br>';
                 echo '<input type="checkbox" name="bConfirmTestedVersionChange" value="true"> ';
                 echo 'Yes, I want to change the Wine version';
                 echo '</td></tr>';
@@ -988,7 +988,7 @@ class testData{
            getInput('bConfirmTestedVersionChange', $aValues) != 'true')
         {
             $errors .= '<li>Are you sure you want to change the Wine version of the report? Please submit a new '.
-                        'test report for every Wine version you test; this is useful for tracking Wine's progress. '.
+                        'test report for every Wine version you test; this is useful for tracking Wine\'s progress. '.
                         'Tick the box above the submit button if you want to proceed</li>';
         }
 




More information about the wine-cvs mailing list