You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/Http/Controllers/PreferencesController.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,8 @@ public function index(Request $request)
24
24
$generalSettings = $this->generalSettings;
25
25
26
26
$currencyOverrideAlert = null;
27
-
if ($generalSettings->currency_format_override) {
27
+
// Only show alert when an override is actively set (non-empty string)
28
+
if ($generalSettings->currency_format_override && $generalSettings->currency_format_override !== '') {
28
29
$currencyOverrideAlert = __('Global currency format override is enabled. All currency and number displays use :locale formatting. Your language preference does not affect currency formatting.', ['locale' => $generalSettings->currency_format_override]);
0 commit comments