#827: Fix Thawte patch
authorMichael Tänzer <neo@nhng.de>
Tue, 22 Feb 2011 22:01:32 +0000 (23:01 +0100)
committerMichael Tänzer <neo@nhng.de>
Tue, 22 Feb 2011 22:01:32 +0000 (23:01 +0100)
PHP is nasty: "or" precedence is lower than "="

Signed-off-by: Michael Tänzer <neo@nhng.de>
pages/wot/10.php

index 50b1ecb..bc76a86 100644 (file)
@@ -79,7 +79,7 @@
     <td class="DataTD"><?=_(sprintf("%s", $row['method']))?></td>
   </tr>
 <?
-  $thawte = ($row['method'] == "Thawte Points Transfer") or $thawte;
+  $thawte = ($row['method'] == "Thawte Points Transfer") || $thawte;
 } ?>
   <tr>
     <td class="DataTD" colspan="3"><b><?=_("Total Points")?>:</b></td>