equal
deleted
inserted
replaced
69 |
69 |
70 if ( empty($errors) ) |
70 if ( empty($errors) ) |
71 { |
71 { |
72 $email = getConfig('contact_email'); |
72 $email = getConfig('contact_email'); |
73 |
73 |
74 if ( !is_array($result = arp_send_mail($email, "[{$_SERVER['HTTP_HOST']}] Website bug report", "Sent from IP: {$_SERVER['REMOTE_ADDR']}\n\n---------------------------\n$comment)")) ) |
74 if ( !is_array($result = arp_send_mail($email, "[{$_SERVER['HTTP_HOST']}] Website bug report", "Sent from IP: {$_SERVER['REMOTE_ADDR']}\n\n---------------------------\n$comment")) ) |
75 { |
75 { |
76 redirect(makeUrl($page), 'Report sent', 'Thank you, your report has been sent. Redirecting you back to the page...', 5); |
76 redirect(makeUrl($page), 'Report sent', 'Thank you, your report has been sent. Redirecting you back to the page...', 5); |
77 } |
77 } |
78 else |
78 else |
79 { |
79 { |