Skip to content

Commit

Permalink
final update gah
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalisbury committed Feb 28, 2017
1 parent 88b61e3 commit 8c88387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/routes/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
$q = new CategoryRankNutrientQuery;
$requestedCatRules = $q->filterByCategoryId($cat->getId())->orderByRankId()->find();
foreach($requestedCatRules as $rule) {
$rules[$rule->getNutrient()->getName()][][strtolower($rule->getRank()->getName())] = [
$rules[$rule->getNutrient()->getName()][] = [
"nutrientName" => $rule->getNutrient()->getName(),
"nutrientId" => $rule->getNutrient()->getId(),
"operator" => $rule->getOperator(),
Expand Down

0 comments on commit 8c88387

Please sign in to comment.