diff --git a/administrator/components/com_languages/Helper/MultilangstatusHelper.php b/administrator/components/com_languages/Helper/MultilangstatusHelper.php index ad24249a917ff..805624b7580d6 100644 --- a/administrator/components/com_languages/Helper/MultilangstatusHelper.php +++ b/administrator/components/com_languages/Helper/MultilangstatusHelper.php @@ -233,8 +233,8 @@ public static function getDefaultHomeModule() ->where( [ $db->quoteName('home') . ' = ' . $db->quote('1'), - $db->quoteName('published') . ' = ' . $db->quote('1'), - $db->quoteName('client_id') . ' = ' . $db->quote('0'), + $db->quoteName('published') . ' = 1', + $db->quoteName('client_id') . ' = 0', $db->quoteName('language') . ' = ' . $db->quote('*'), ] ); @@ -250,8 +250,8 @@ public static function getDefaultHomeModule() ->where( [ $db->quoteName('module') . ' = ' . $db->quote('mod_menu'), - $db->quoteName('published') . ' = ' . $db->quote('1'), - $db->quoteName('client_id') . ' = ' . $db->quote('0'), + $db->quoteName('published') . ' = 1', + $db->quoteName('client_id') . ' = 0', ] ); @@ -295,8 +295,8 @@ public static function getModule($moduleName, $instanceTitle = null) ->where( [ $db->quoteName('module') . ' = ' . $db->quote($moduleName), - $db->quoteName('published') . ' = ' . $db->quote('1'), - $db->quoteName('client_id') . ' = ' . $db->quote('0'), + $db->quoteName('published') . ' = 1', + $db->quoteName('client_id') . ' = 0', ] );