summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-09-20 07:54:04 +0200
committerBenny Baumann <BenBE@geshi.org>2013-09-20 17:21:51 +0200
commita61e785466fc68e77326da5037f4c5c4f12d87e3 (patch)
tree07a42b33c75ff14b34dad758260c69e7860d19af
parent90a5cb6a5b2d88c844af507d147820b71f972992 (diff)
downloadcacert-devel-a61e785466fc68e77326da5037f4c5c4f12d87e3.tar.gz
cacert-devel-a61e785466fc68e77326da5037f4c5c4f12d87e3.tar.xz
cacert-devel-a61e785466fc68e77326da5037f4c5c4f12d87e3.zip
bug 988: added <br> and point calculation
-rw-r--r--pages/wot/16.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/pages/wot/16.php b/pages/wot/16.php
index 08a76d3..221161f 100644
--- a/pages/wot/16.php
+++ b/pages/wot/16.php
@@ -53,6 +53,9 @@ $dres = mysql_query($query);
$drow = mysql_fetch_assoc($dres);
$points=$drow['points'];
+if ($points<1) {
+ $points=0;
+}
$res = get_received_assurances(intval($userid), 2);
$ttp_assurances_count=$num_rows = mysql_num_rows($res);
@@ -67,7 +70,7 @@ $ttp_assurances_count=$num_rows = mysql_num_rows($res);
<td><?=$points?></td>
</tr>
</table>
-
+<br/>
<form action="https://pdf.cacert.eu/cacertpdf.php" method="get">
<table align="center" class="wrapper">
<tr>