bug 1221: Fix "from" not being displayed in received points
authorMichael Tänzer <neo@nhng.de>
Fri, 21 Mar 2014 14:37:33 +0000 (15:37 +0100)
committerMichael Tänzer <neo@nhng.de>
Fri, 21 Mar 2014 14:37:33 +0000 (15:37 +0100)
Signed-off-by: Michael Tänzer <neo@nhng.de>
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))
        {