bug 1221: Fix "from" not being displayed in received points
[cacert-devel.git] / pages / wot / 10.php
index 24b8a70..c7e1ff1 100644 (file)
@@ -64,7 +64,7 @@
     <td class="DataTD"><b><?=_("Method")?></b></td>
   </tr>
 <?
-       $query = "select `id`, `date`, `points`, `location`, `method` from `notary` where `to`='".intval($_SESSION['profile']['id'])."' and `deleted`=0";
+       $query = "select `id`, `date`, `from`, `points`, `location`, `method` from `notary` where `to`='".intval($_SESSION['profile']['id'])."' and `deleted`=0";
        $res = mysql_query($query);
        while($row = mysql_fetch_assoc($res))
        {