BUG fixed possibly undefined variable, fixes #57

This commit is contained in:
s-m 2012-10-13 12:15:04 +02:00 committed by Steffen
parent e15bb030c8
commit 9d9e2fa3d1

View File

@ -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;