From db92ebd8c9be35a506cdeaa7db419528516d1a40 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Tue, 26 Oct 2010 15:07:02 -0400 Subject: [PATCH 1/1] CHANGE LOGIN-REQUIRED API --- metaform/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metaform/template.php b/metaform/template.php index 7b278af..138ad9d 100644 --- a/metaform/template.php +++ b/metaform/template.php @@ -95,7 +95,7 @@ function ~file_name~_display_listing($where = 'order by ~always_field~ limit 100 function ~file_name~_main() { if(!logged_in_as_admin()) { - $GLOBALS['url'] = this_url(); + $_REQUEST['url'] = this_url(); return 'admin_login'; } -- 1.7.10.4