diff --git a/src/php/endpoints.php b/src/php/endpoints.php index 6b3b96bd..94356e50 100644 --- a/src/php/endpoints.php +++ b/src/php/endpoints.php @@ -10,7 +10,7 @@ * AJAX Method for getting metadata from other websites for citations. */ function get_website_meta() { - if (extension_loaded('dom') || !extension_loaded('libxml')) { + if (!extension_loaded('dom') || !extension_loaded('libxml')) { wp_send_json_error([], 501); exit; }