aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reminder.module6
1 files changed, 5 insertions, 1 deletions
diff --git a/reminder.module b/reminder.module
index fdba07c..4a22a21 100644
--- a/reminder.module
+++ b/reminder.module
@@ -252,6 +252,7 @@ function reminder_form(&$node) {
function reminder_validate($node, $form, &$form_state) {
if ($form['type']['#value'] == 'reminder') {
// TODO
+ // valid_email_address()
}
}
@@ -457,9 +458,12 @@ function reminder_send($nid) {
/**
* Helper function to parse subscribers.
+ *
+ * @todo
+ * Ignore blank lines.
*/
function reminder_parse_subscribers($subscribers) {
- return explode('\n', $subscribers);
+ return explode("\n", $subscribers);
}
/**