Skip to content

Commit

Permalink
Update lib.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jhan756k authored Mar 28, 2024
1 parent a5682b8 commit 4e5c520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ function reportable($upvotes, $downvotes)
function printFood($foodJSON, $month, $day, $whichMeal)
{
if ($foodJSON != null && array_key_exists($month, $foodJSON) && array_key_exists($day, $foodJSON[$month])) {
foreach ($foodJSON[$month][$day][$whichMeal] as $key => $value) {
foreach ($foodJSON[$month][$day][$whichMeal] as $value) {
echo "$value <br />";
}
} else {
Expand Down

0 comments on commit 4e5c520

Please sign in to comment.