mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG: Stop undefined error for $reEnableFilter being thrown
NEW: Switched reEnsbleFilter fix to match coding convention
This commit is contained in:
parent
d0c37b3a13
commit
6f1dd138bc
@ -1488,6 +1488,7 @@ class Translatable extends DataObjectDecorator implements PermissionProvider {
|
|||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function augmentValidURLSegment() {
|
public function augmentValidURLSegment() {
|
||||||
|
$reEnableFilter = false;
|
||||||
if (self::locale_filter_enabled()) {
|
if (self::locale_filter_enabled()) {
|
||||||
self::disable_locale_filter();
|
self::disable_locale_filter();
|
||||||
$reEnableFilter = true;
|
$reEnableFilter = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user