shouldn't this be: 

```php
$sites = array_unique(array(Sites::ALL_SITES, $site['Site']['id']));
```