bug 1221: missing column in query for assurances data
authorBenny Baumann <BenBE@geshi.org>
Tue, 26 Nov 2013 22:01:26 +0000 (23:01 +0100)
committerBenny Baumann <BenBE@geshi.org>
Tue, 26 Nov 2013 22:01:26 +0000 (23:01 +0100)
pages/wot/10.php

index d796789..24b8a70 100644 (file)
@@ -114,7 +114,7 @@ if ($thawte)
   </tr>
 <?
        $points = 0;
-       $query = "select `id`, `date`, `points`, `location`, `method` from `notary` where `from`='".intval($_SESSION['profile']['id'])."' and `to`!='".intval($_SESSION['profile']['id'])."'  and `deleted`=0" ;
+       $query = "select `id`, `date`, `points`, `to`, `location`, `method` from `notary` where `from`='".intval($_SESSION['profile']['id'])."' and `to`!='".intval($_SESSION['profile']['id'])."'  and `deleted`=0" ;
        $res = mysql_query($query);
        while($row = mysql_fetch_assoc($res))
        {