Skip to content

Instantly share code, notes, and snippets.

@greg-hellings
Created November 15, 2012 18:51
Show Gist options
  • Save greg-hellings/4080433 to your computer and use it in GitHub Desktop.
Save greg-hellings/4080433 to your computer and use it in GitHub Desktop.
foreach($images as $image) {
if($image->accountPublisher != '' && !in_array($image->accountPublisher, $resultAccounts)) {
$resultAccounts[] = $image->accountPublisher;
}
}
$this->view->accounts = $resultAccounts;
$this->view->images = $images;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment