From 3f6dfe6358a18fd7bad12b81b9ae40278f4588fa Mon Sep 17 00:00:00 2001 From: Frumph Date: Thu, 22 Nov 2018 16:08:54 -0800 Subject: [PATCH] logic fix for displaying adinfo script --- comiceasel.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comiceasel.php b/comiceasel.php index 1344731..a3f84c6 100644 --- a/comiceasel.php +++ b/comiceasel.php @@ -606,7 +606,8 @@ function ceo_run_scripts() { } function ceo_bf_add_script_to_head() { - if (!empty(ceo_pluginfo('bf_adinfo'))) { + $ceo_options = get_option('comiceasel-config'); + if (isset($ceo_options['bf_adinfo']) && !empty($ceo_options['bf_adinfo'])) { echo ''."\r\n"; } } \ No newline at end of file