Commit 12cae1be authored by John James Jacoby's avatar John James Jacoby
Browse files

Only query when not empty.

parent 82b6f309
......@@ -217,7 +217,9 @@ class WP_Signup_Query {
'update_signup_meta_cache' => true,
);
$this->query( $query );
if ( ! empty( $query ) ) {
$this->query( $query );
}
}
/**
......
Supports Markdown
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