|
@@ -89,7 +89,7 @@ discard block |
|
|
block discarded – undo |
|
89
|
89
|
$class = $this->model; // Must be a local var to test |
|
90
|
90
|
|
|
91
|
91
|
// There aren't multiple locales specified |
|
92
|
|
- if (count(\Illuminate\Support\Facades\Config::get('site.site.locales')) <= 1 ) { return true; |
|
|
92
|
+ if (count(\Illuminate\Support\Facades\Config::get('site.site.locales')) <= 1) { return true; |
|
93
|
93
|
} |
|
94
|
94
|
|
|
95
|
95
|
// We're editing a model with no locale attribute |
|
@@ -97,7 +97,7 @@ discard block |
|
|
block discarded – undo |
|
97
|
97
|
} |
|
98
|
98
|
|
|
99
|
99
|
// The model was explicitly disabled |
|
100
|
|
- if (!property_exists($class, 'localizable') || $class::$localizable === false ) { |
|
|
100
|
+ if (!property_exists($class, 'localizable') || $class::$localizable === false) { |
|
101
|
101
|
return true; |
|
102
|
102
|
} |
|
103
|
103
|
|
Please login to merge, or discard this patch.