<?php
-/* Copyright 2006, 2007, 2008, 2009, 2010 Arun Persaud <arun@nubati.net>
+/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arun Persaud <arun@nubati.net>
*
* This file is part of e-DoKo.
*
else
{
DB_set_reminder($r[1],$gameid);
- $subject ='Reminder: game '.DB_format_gameid($gameid)." it's your turn";
- mymail($r[1],$subject,$message);
+ mymail($r[1],$gameid, GAME_REMINDER, $message);
echo "<p style=\"background-color:red\";>Game ".DB_format_gameid($gameid).
": an email has been sent out.<br /><br /></p>";