From 13baf4a4f5db56a4ee522dd7b83dd1a95d40a8ec Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 16 Nov 2017 15:13:37 -0500 Subject: [PATCH] request_uri was throwing an error in the form action removed content.request_uri and replaced with request_uri alone in the form action for index.php in the admin view --- controllers/admin.php | 2 +- views/admin/add/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/admin.php b/controllers/admin.php index 7e9567e..e0370d5 100644 --- a/controllers/admin.php +++ b/controllers/admin.php @@ -393,7 +393,7 @@ class glmProtoAdmin // Load Smarty Template support require (GLM_PROTO_PLUGIN_DIR . '/lib/smartyPrototypeTemplateSupport.php'); $smarty = new smartyPrototypeTemplateSupport(); - + // Add some standard parameters $smarty->templateAssign('request_uri', $_SERVER['REQUEST_URI']); diff --git a/views/admin/add/index.html b/views/admin/add/index.html index 7c059c5..c2e8e08 100644 --- a/views/admin/add/index.html +++ b/views/admin/add/index.html @@ -2,7 +2,7 @@

Add a New Prototype

-
+ -- 2.17.1