Merging fixes for strict standards errors. Closes #44

This commit is contained in:
Dan Cryer 2013-05-17 16:24:17 +01:00
commit b9415316d4
3 changed files with 4 additions and 5 deletions

View file

@ -31,7 +31,7 @@ class Project extends ProjectBase
}
$order = array('id' => 'DESC');
$builds = Store\Factory::getStore('Build')->getWhere($criteria, 1, $start, array(), $order);
$builds = Store\Factory::getStore('Build')->getWhere($criteria, 1, 0, array(), $order);
if (is_array($builds['items']) && count($builds['items'])) {
$latest = array_shift($builds['items']);