summaryrefslogtreecommitdiff
path: root/vote.php
diff options
context:
space:
mode:
authorcommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>2009-05-26 02:32:18 +0000
committercommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>2009-05-26 02:32:18 +0000
commit91afc1bbad9621364b92ae83f9d1c0a2bc7a1594 (patch)
treec0a52e68b9ae3549725e975bf519ae7ababed339 /vote.php
parent5ea1319eb925bccb15cf6ab54d8c9a61f9f81ae5 (diff)
downloadcacert-boardvoting-91afc1bbad9621364b92ae83f9d1c0a2bc7a1594.tar.gz
cacert-boardvoting-91afc1bbad9621364b92ae83f9d1c0a2bc7a1594.tar.xz
cacert-boardvoting-91afc1bbad9621364b92ae83f9d1c0a2bc7a1594.zip
consolidate mail functions. typo in mail message fix. div by zero fix if no votes. query pretty up.
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@39 d4452222-2f33-11de-9270-010000000000
Diffstat (limited to 'vote.php')
-rw-r--r--vote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vote.php b/vote.php
index f2445c0..819f03a 100644
--- a/vote.php
+++ b/vote.php
@@ -67,7 +67,7 @@ Kind regards,
the vote system
BODY;
- mail($board,"Re: $tag - $title",$body,"From: Voting System <returns@caert.org>");
+ $db->notify("Re: $tag - $title",$body);
} else {
?>
<b>Your vote has NOT been registered.</b><br/>