diff options
| author | Nathan Kinkade <nath@nkinka.de> | 2012-11-14 23:39:14 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nath@nkinka.de> | 2012-11-14 23:39:14 +0000 |
| commit | b237ed367af9508924b31216a46dfdd8a3c18834 (patch) | |
| tree | 8111baab3530ffd4f58ea5fc28174d0b9459553a | |
| parent | 47268653b2bde99970cb3dbe1c50d5edb73de533 (diff) | |
Fixed bug where variable name set in PHP was different than the one reference in the template.
| -rw-r--r-- | food_search.php | 2 |
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 { |
