BUGFIX reset subsite filter to false (from r94886)

This commit is contained in:
Tom Rix 2010-03-01 21:41:59 +00:00
parent 9e17ce98aa
commit 2fc9bef6e2

View File

@ -557,9 +557,10 @@ JS;
}
static function get_from_all_subsites($className, $filter = "", $sort = "", $join = "", $limit = "") {
$oldState = self::$disable_subsite_filter;
self::$disable_subsite_filter = true;
$result = DataObject::get($className, $filter, $sort, $join, $limit);
self::$disable_subsite_filter = false;
self::$disable_subsite_filter = $oldState;
return $result;
}