Commit 10aa4ee9 authored by KR Moorhouse's avatar KR Moorhouse Committed by Kenny Hall

Broke up multiple function calls into separate lines for php 5.2 compatability. (#3104)

parent 0b2b95f4
......@@ -141,8 +141,9 @@ final class NF_Actions_Email extends NF_Abstracts_Action
// Loop over our email addresses.
foreach( $email_addresses as $email ) {
// Updated to trim values in case there is a value with spaces/tabs/etc to remove whitespace
if( empty( trim( $email ) ) ) continue;
// Updated to trim values in case there is a value with spaces/tabs/etc to remove whitespace
$email = trim( $email );
if ( empty( $email ) ) continue;
// Build our array of the email addresses.
$sanitized_array[] = $email;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment