BUG: Stop undefined error for $reEnableFilter being thrown

NEW: Switched reEnsbleFilter fix to match coding convention
This commit is contained in:
Kirk Mayo 2014-01-20 16:32:32 +13:00
parent d0c37b3a13
commit 6f1dd138bc

View File

@ -1488,6 +1488,7 @@ class Translatable extends DataObjectDecorator implements PermissionProvider {
* @return bool
*/
public function augmentValidURLSegment() {
$reEnableFilter = false;
if (self::locale_filter_enabled()) {
self::disable_locale_filter();
$reEnableFilter = true;