From e274ef9575093a17180269d363864bab6687ff30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= <1536036+zoic21@users.noreply.github.com> Date: Sun, 23 Jun 2024 09:57:17 +0200 Subject: [PATCH] fix #2704 --- desktop/modal/first.use.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/desktop/modal/first.use.php b/desktop/modal/first.use.php index be5d8f13af..7d0d07729e 100644 --- a/desktop/modal/first.use.php +++ b/desktop/modal/first.use.php @@ -21,10 +21,15 @@ } $pluginJeeEasy = false; -if(is_object(plugin::byId('jeeasy'))) { - $pluginJeeEasy = true; +try { + if(is_object(plugin::byId('jeeasy'))) { + $pluginJeeEasy = true; + } +} catch (\Throwable $th) { + } + $showDoc = false; if (config::byKey('doc::base_url', 'core') != '') { $showDoc = true;