JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
CHANGE LOGIN-REQUIRED API
authorJason Woofenden <jason@jasonwoof.com>
Tue, 26 Oct 2010 19:07:02 +0000 (15:07 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Tue, 26 Oct 2010 19:19:01 +0000 (15:19 -0400)
metaform/template.php

index 7b278af..138ad9d 100644 (file)
@@ -95,7 +95,7 @@ function ~file_name~_display_listing($where = 'order by ~always_field~ limit 100
 <!--~}~-->
 function ~file_name~_main() {<!--~opt_pass {~-->
        if(!logged_in_as_admin()) {
-               $GLOBALS['url'] = this_url();
+               $_REQUEST['url'] = this_url();
                return 'admin_login';
        }
 <!--~}~--><!--~opt_display {~-->