From 9e6d1ba37e0f12901b798a67134404da23b8efb7 Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Wed, 31 Jan 2024 11:46:26 +0100 Subject: [PATCH] Fix minore --- index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 99f6ddaa1..719e5bebf 100755 --- a/index.php +++ b/index.php @@ -26,10 +26,9 @@ $op = filter('op'); $microsoft = null; -if ($dbo->isConnected() && $dbo->tableExists('zz_oauth2')) { +try { $microsoft = $dbo->selectOne('zz_oauth2', '*', ['nome' => 'Microsoft', 'enabled' => 1, 'is_login' => 1]); -} - +} catch (Exception $e) {} // LOGIN switch ($op) {