summaryrefslogtreecommitdiff
path: root/view_food.php
diff options
context:
space:
mode:
Diffstat (limited to 'view_food.php')
-rw-r--r--view_food.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view_food.php b/view_food.php
index 04c6bd0..b927459 100644
--- a/view_food.php
+++ b/view_food.php
@@ -30,7 +30,7 @@ if ( isset($_POST['action']) && ($_POST['action'] == "viewFood") ) {
# foods was to simply stick an option in the "Favorites" menu in the
# left sidebar, and that form directs the user here.
if ( isset($_POST['queryString']) && $_POST['queryString'] == "viewAllFoods" ) {
- header("Location: {$config->_rootUri}/list_foods.php");
+ header("Location: {$config->_rootUri}/list_foods");
exit;
} else {
header("Location: {$config->_rootUri}/{$config->_thisScript}?{$_POST['queryString']}");