summaryrefslogtreecommitdiff
path: root/motion.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 /motion.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 'motion.php')
-rw-r--r--motion.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/motion.php b/motion.php
index 60cfb0d..4672cf7 100644
--- a/motion.php
+++ b/motion.php
@@ -74,14 +74,14 @@ Aye: $voteurl&vote=1
Naye: $voteurl&vote=-1
Abstain: $voteurl&vote=0
-Please be aware, that if you have voted already your votr is still registered and valid.
+Please be aware, that if you have voted already your vote is still registered and valid.
If this modification has an impact on how you wish to vote, you are responsible for voting
again.
Kind regards,
the voting system
BODY;
- mail($board,"Re: $tag - $title",$body,"From: Voting System <returns@caert.org>");
+ $db->notify("Re: $tag - $title",$body);
} else {
?>
<b>The motion has NOT been proposed!</b><br/>
@@ -136,7 +136,7 @@ Abstain: $voteurl&vote=0
Kind regards,
the voting system
BODY;
- mail($board,"$tag - $title",$body,"From: Voting System <returns@caert.org>");
+ $db->notify("$tag - $title",$body);
} else {
?>
<b>The motion has NOT been proposed!</b><br/>