replace $items with all(). ($items is protected)
Merge pull request #3197 from huglester/patch-5

replace $items with all(). ($items is protected)