We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6253096 commit bef1c83Copy full SHA for bef1c83
administrator/components/com_finder/src/Helper/LanguageHelper.php
@@ -58,8 +58,9 @@ public static function branchSingular($branchName)
58
{
59
$return = preg_replace('/[^a-zA-Z0-9]+/', '_', strtoupper($branchName));
60
$language = Factory::getApplication()->getLanguage();
61
+ $debug = Factory::getApplication()->get('debug_lang');
62
- if ($language->hasKey('PLG_FINDER_QUERY_FILTER_BRANCH_S_' . $return) || JDEBUG) {
63
+ if ($language->hasKey('PLG_FINDER_QUERY_FILTER_BRANCH_S_' . $return) || $debug) {
64
return 'PLG_FINDER_QUERY_FILTER_BRANCH_S_' . $return;
65
}
66
0 commit comments