Skip to content

Commit

Permalink
Merge pull request #11 from dmd-web-and-mobile/hotfix/catobject
Browse files Browse the repository at this point in the history
final update gah
  • Loading branch information
jrs06005 committed Feb 28, 2017
2 parents 329847d + 8c88387 commit 0901491
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 0901491

Please sign in to comment.