Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Commit

Permalink
fix bug causing URL autocite to no longer function
Browse files Browse the repository at this point in the history
closes #387
closes #369
  • Loading branch information
dsifford committed Dec 9, 2017
1 parent 8f1b9d4 commit 935bebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/php/endpoints.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 935bebd

Please # to comment.