summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2012-11-14 23:39:14 +0000
committerNathan Kinkade <nath@nkinka.de>2012-11-14 23:39:14 +0000
commitb237ed367af9508924b31216a46dfdd8a3c18834 (patch)
tree8111baab3530ffd4f58ea5fc28174d0b9459553a
parent47268653b2bde99970cb3dbe1c50d5edb73de533 (diff)
Fixed bug where variable name set in PHP was different than the one reference in the template.
-rw-r--r--food_search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/food_search.php b/food_search.php
index 69ff15d..3466a00 100644
--- a/food_search.php
+++ b/food_search.php
@@ -256,7 +256,7 @@ if ( $db->_rowCount > 0 ) {
} else {
$searchResults[$idx]['food'] = $row['ndb_no'];
$searchResults[$idx]['category'] = $row['fdgrp_cd'];
- $searchResults[$idx]['description'] = $row['foodDesc'];
+ $searchResults[$idx]['foodDesc'] = $row['foodDesc'];
}
}
} else {