The line$emailReply = (!isset($info) || $info);is basically causing $emailReply to be true if $info is not set, otherwise $emailReply is the value of $info. The behavior you want is instead for $emailReply to be false if $info is not set, otherwise $emailReply should be the value of $info. To get this, you would do something like this:$emailReply = isset($info) && $info;