From: Jason Woofenden Date: Tue, 26 Oct 2010 19:07:02 +0000 (-0400) Subject: CHANGE LOGIN-REQUIRED API X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=db92ebd8c9be35a506cdeaa7db419528516d1a40 CHANGE LOGIN-REQUIRED API --- 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'; }