Skip to content

Instantly share code, notes, and snippets.

@jmertic
Created March 22, 2011 02:43
Show Gist options
  • Save jmertic/880671 to your computer and use it in GitHub Desktop.
Save jmertic/880671 to your computer and use it in GitHub Desktop.
<?php
function getReleaseDropDown(){
static $releases = null;
if(!$releases){
$seedRelease = new Release();
$releases = $seedRelease->get_releases(TRUE, "Active");
}
return $releases;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment