Loading includes/notification.inc +3 −0 Changes for includes/notification.inc: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -158,6 +158,9 @@ function project_issue_notification_user_form_validate($form, &$form_state) { if (empty($nid)) { form_set_error('projects][new][title', t('The name you entered (%title) is not a valid project.', array('%title' => $new_project['title']))); } elseif (!empty($form_state['values']['projects'][$nid])) { form_set_error('projects][new][title', t('You have already defined issue notification settings for the %title project.', array('%title' => $new_project['title']))); } else { $form_state['values']['projects']['new']['nid'] = $nid; } Loading Loading
includes/notification.inc +3 −0 Changes for includes/notification.inc: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -158,6 +158,9 @@ function project_issue_notification_user_form_validate($form, &$form_state) { if (empty($nid)) { form_set_error('projects][new][title', t('The name you entered (%title) is not a valid project.', array('%title' => $new_project['title']))); } elseif (!empty($form_state['values']['projects'][$nid])) { form_set_error('projects][new][title', t('You have already defined issue notification settings for the %title project.', array('%title' => $new_project['title']))); } else { $form_state['values']['projects']['new']['nid'] = $nid; } Loading