summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoao Ventura2018-10-05 13:34:34 (GMT)
committerJoao Ventura2018-10-05 13:34:34 (GMT)
commit7d85c4283027a3e3e4c4ee35953f1e1333646ceb (patch)
treeb123f27352492ffd97b6dd1967ed2e44e2cacb6c
parenta1f0bb22f3395c0e3bfbf549bd991f4bebd69ba5 (diff)
Issue #3004236 by jcnventura: Send by email not working
-rw-r--r--print_mail/print_mail.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/print_mail/print_mail.inc b/print_mail/print_mail.inc
index 17b0bce..e4edf94 100644
--- a/print_mail/print_mail.inc
+++ b/print_mail/print_mail.inc
@@ -388,7 +388,7 @@ function print_mail_form_validate($form, &$form_state) {
* @ingroup forms
*/
function print_mail_form_submit($form, &$form_state) {
- if (!array_key_exists('cancel', $form_state['values'])) {
+ if (!array_key_exists('cancel', $form_state['input'])) {
module_load_include('inc', 'print', 'print.pages');
module_load_include('inc', 'print', 'includes/print');