diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-11-09 04:08:10 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-11-09 04:08:10 +0000 |
commit | 15000026f3880484a00bde98b1f011c897190ebf (patch) | |
tree | 9bfbeb96f1aecf5c3c97a8f22a9fc80f8a7a4c97 /app/template-html.lsp | |
parent | 81f6dfb2e83785679ddd4c37e6dd3c95f3a8a249 (diff) | |
download | acf-core-15000026f3880484a00bde98b1f011c897190ebf.tar.bz2 acf-core-15000026f3880484a00bde98b1f011c897190ebf.tar.xz |
Fixed hostname parameter scope by moving if statement
Diffstat (limited to 'app/template-html.lsp')
-rw-r--r-- | app/template-html.lsp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/template-html.lsp b/app/template-html.lsp index 56d6d14..811a771 100644 --- a/app/template-html.lsp +++ b/app/template-html.lsp @@ -13,9 +13,11 @@ Content-Type: text/html <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<% if pageinfo.skinned ~= "false" then %> <% local hostname = "" + +if pageinfo.skinned ~= "false" then + if viewlibrary and viewlibrary.dispatch_component then local result = viewlibrary.dispatch_component("alpine-baselayout/hostname/read", nil, true) if result and result.value then |