From 9d9e2fa3d184edf10f570aa74987be08a98155e6 Mon Sep 17 00:00:00 2001 From: s-m Date: Sat, 13 Oct 2012 12:15:04 +0200 Subject: [PATCH] BUG fixed possibly undefined variable, fixes #57 --- code/model/Translatable.php | 1 + 1 file changed, 1 insertion(+) diff --git a/code/model/Translatable.php b/code/model/Translatable.php index aefc254..b6bc768 100755 --- a/code/model/Translatable.php +++ b/code/model/Translatable.php @@ -1640,6 +1640,7 @@ class Translatable extends DataExtension implements PermissionProvider { * @return bool */ public function augmentValidURLSegment() { + $reEnableFilter = false; if(self::locale_filter_enabled()) { self::disable_locale_filter(); $reEnableFilter = true;