summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/wot.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/wot.inc.php b/includes/wot.inc.php
index 19f56a4..4cd1a67 100644
--- a/includes/wot.inc.php
+++ b/includes/wot.inc.php
@@ -581,7 +581,7 @@ function AssureBoxLine($type,$text)
function AssureMethodLine($text,$methods,$remark,$flag)
{
- if ($flag = 1)
+ if ($flag === 1)
{
?>
<tr>
@@ -589,11 +589,11 @@ function AssureMethodLine($text,$methods,$remark,$flag)
<td class="DataTD">
<select name="method">
<?
- foreach($methods as $val) { ?>
+ foreach($methods as $val) { ?>
<option value="<?=$val?>"<? if(array_key_exists('method',$_POST) && $val == $_POST['method']) echo " selected"; ?>><?=$val?></option>
<? } ?>
- </select>
+ </select>
</br><?=$remark?>
</td>
</tr>