summaryrefslogtreecommitdiff
path: root/pages/account/43.php
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-12-08 12:15:28 +0100
committerINOPIAE <inopiae@cacert.org>2013-12-08 12:15:28 +0100
commit0335ec43f3dc09cc28b246fb046ddd659c983326 (patch)
tree3b905699fb1fb621ae65c4d2fa848233078648a5 /pages/account/43.php
parent111d0d44dd4f7a8b6c4d8bec6197bc2314a345f1 (diff)
downloadcacert-devel-0335ec43f3dc09cc28b246fb046ddd659c983326.tar.gz
cacert-devel-0335ec43f3dc09cc28b246fb046ddd659c983326.tar.xz
cacert-devel-0335ec43f3dc09cc28b246fb046ddd659c983326.zip
bug 1138: added function get_alerts
Diffstat (limited to 'pages/account/43.php')
-rw-r--r--pages/account/43.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/pages/account/43.php b/pages/account/43.php
index 177d261..7e4d00a 100644
--- a/pages/account/43.php
+++ b/pages/account/43.php
@@ -115,7 +115,9 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php");
$query = "select sum(`points`) as `points` from `notary` where `to`='".intval($row['id'])."'";
$dres = mysql_query($query);
$drow = mysql_fetch_assoc($dres);
- $alerts = mysql_fetch_assoc(mysql_query("select * from `alerts` where `memid`='".intval($row['id'])."'"));
+// comment to be deleted before release
+// $alerts = mysql_fetch_assoc(mysql_query("select * from `alerts` where `memid`='".intval($row['id'])."'"));
+ $alerts =get_alerts(intval($row['id']));
//display account data
?>
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">