diff options
Diffstat (limited to 'pages/account/52.php')
-rw-r--r-- | pages/account/52.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/account/52.php b/pages/account/52.php index 77a3bae..73a8bae 100644 --- a/pages/account/52.php +++ b/pages/account/52.php @@ -35,7 +35,7 @@ exit; } - $query = "select sum(`points`) as `points` from `notary` where `to`='$memid'"; + $query = "select sum(`points`) as `points` from `notary` where `to`='$memid' and `deleted` = 0"; $notary = mysql_fetch_assoc(mysql_query($query)); $query = "select * from `users` where `id`='$memid'"; $user = mysql_fetch_assoc(mysql_query($query)); |