diff --git a/cake/libs/set.php b/cake/libs/set.php index e0f339ed7..294b8ac7d 100644 --- a/cake/libs/set.php +++ b/cake/libs/set.php @@ -1017,7 +1017,7 @@ class Set { * @param string $key * @return array */ - private function __flatten($results, $key = null) { + private static function __flatten($results, $key = null) { $stack = array(); foreach ($results as $k => $r) { $id = $k;