Commit 8c372b72 authored by Kenny Hall's avatar Kenny Hall

Passed in the second param of false to the class exists check to ensure it...

Passed in the second param of false to the class exists check to ensure it doesn't try to autoload the class.
parent ce7caa1a
Pipeline #1835 passed with stages
in 1 minute and 15 seconds
...@@ -151,7 +151,7 @@ class NF_PromotionManager ...@@ -151,7 +151,7 @@ class NF_PromotionManager
private function is_sendwp_active() private function is_sendwp_active()
{ {
if( class_exists( '\\SendWP\\Mailer' ) ) { if( class_exists( '\\SendWP\\Mailer', FALSE ) ) {
return true; return true;
} }
return false; return false;
......
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