Trying to fix the bug
This commit is contained in:
parent
a8f13c327e
commit
927d958db9
1 changed files with 8 additions and 2 deletions
|
@ -53,12 +53,18 @@
|
||||||
</tr>
|
</tr>
|
||||||
<?
|
<?
|
||||||
} if(100 - $_SESSION['_config']['pointsalready'] - $maxpoints < 0) {
|
} if(100 - $_SESSION['_config']['pointsalready'] - $maxpoints < 0) {
|
||||||
// } if($_SESSION['_config']['pointsalready'] > 0) { // This is wrong!
|
|
||||||
?>
|
?>
|
||||||
<tr>
|
<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>
|
<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>
|
</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>
|
<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>
|
<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>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue