From a87e26c49b191892c2cec28313a97cf494500eb8 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Wed, 24 Feb 2021 16:08:04 +0000 Subject: [PATCH] Fix https://github.com/monperrus/bibtexbrowser/issues/109 --- bibtexbrowser.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index d1c40c4..9cb8b97 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -306,14 +306,7 @@ function get_target() { function _zetDB($bibtex_filenames) { $db = null; - // Check if magic_quotes_runtime is active - if(get_magic_quotes_runtime()) - { - // Deactivate - // otherwise it does not work - set_magic_quotes_runtime(false); - } - + // default bib file, if no file is specified in the query string. if (!isset($bibtex_filenames) || $bibtex_filenames == "") { default_message();