Trying to fix the bug

pull/1/head
root 17 years ago
parent a8f13c327e
commit 927d958db9

@ -53,12 +53,18 @@
</tr>
<?
} if(100 - $_SESSION['_config']['pointsalready'] - $maxpoints < 0) {
// } if($_SESSION['_config']['pointsalready'] > 0) { // This is wrong!
?>
<tr>
<td class="DataTD" colspan="2" align="left" style="color: red;"><b><? printf(_("This person already has %s assurance points. Any points you give this person may be rounded down, or they may not even get any points. If you have less then 150 points you will still receive 2 points for assuring them."), $_SESSION['_config']['pointsalready']); ?></b></td>
</tr>
<? } if($_SESSION['_config']['verified'] <= 0) { ?>
<? }
$query = "select `verified` from `users` where `id`='".$row['id']."'";
$res = mysql_query($query);
$drow = mysql_fetch_assoc($res);
//if($_SESSION['_config']['verified'] <= 0)
if($drow['verified']<=0)
{ ?>
<tr>
<td class="DataTD" colspan="2" align="left" style="color: red;"><b><?=_("You are about to assure a person that isn't currently verified. If you continue and they do not verify their account within 48 hours the account could automatically be removed by the system.")?></b></td>
</tr>

Loading…
Cancel
Save