Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3ee2d0
)
CHANGE LOGIN-REQUIRED API
author
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 Oct 2010 19:07:02 +0000
(15:07 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 Oct 2010 19:19:01 +0000
(15:19 -0400)
metaform/template.php
patch
|
blob
|
history
diff --git
a/metaform/template.php
b/metaform/template.php
index
7b278af
..
138ad9d
100644
(file)
--- 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() {<!--~opt_pass {~-->
if(!logged_in_as_admin()) {
- $GLOBALS['url'] = this_url();
+ $_REQUEST['url'] = this_url();
return 'admin_login';
}
<!--~}~--><!--~opt_display {~-->