diff --git a/administrator/components/com_admin/script.php b/administrator/components/com_admin/script.php index 2de4550e84453..6cd4e6394d439 100644 --- a/administrator/components/com_admin/script.php +++ b/administrator/components/com_admin/script.php @@ -1700,7 +1700,8 @@ private function convertTablesToUtf8mb4() // Check conversion status in database $db->setQuery('SELECT ' . $db->quoteName('converted') - . ' FROM ' . $db->quoteName('#__utf8_conversion'); + . ' FROM ' . $db->quoteName('#__utf8_conversion') + ); try { @@ -1714,7 +1715,7 @@ private function convertTablesToUtf8mb4() } // Nothing to do, saved conversion status from DB is equal to required - if ($convertedDB === $converted) + if ($convertedDB == $converted) { return; }