summaryrefslogtreecommitdiff
path: root/smartyplugins/block.form.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2014-06-04 00:23:18 +0100
committerlsces <lester@lsces.co.uk>2014-06-04 00:23:18 +0100
commit09cf4f3c2d062ce6057234d924f487989509b785 (patch)
treef3aadbde1e8d0f9ae42fa7472453c065a58ee739 /smartyplugins/block.form.php
parent165301fd4856a37933de9dd6c86fa45fba9d1e06 (diff)
parentdffcf669a19d1cfa80304a375d78c9243176f9a6 (diff)
downloadthemes-09cf4f3c2d062ce6057234d924f487989509b785.tar.gz
themes-09cf4f3c2d062ce6057234d924f487989509b785.tar.bz2
themes-09cf4f3c2d062ce6057234d924f487989509b785.zip
Merge
Diffstat (limited to 'smartyplugins/block.form.php')
-rw-r--r--smartyplugins/block.form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/smartyplugins/block.form.php b/smartyplugins/block.form.php
index 94cef96..cadcebd 100644
--- a/smartyplugins/block.form.php
+++ b/smartyplugins/block.form.php
@@ -27,7 +27,7 @@ function smarty_block_form( $pParams, $pContent, &$gBitSmarty) {
$pParams['method'] = 'post';
}
$atts = '';
- if( isset( $pParams['secure'] ) && $pParams['secure'] ) {
+ if( $gBitSystem->isLive() && isset( $pParams['secure'] ) && $pParams['secure'] ) {
// This is NEEDED to enforce HTTPS secure logins!
$url = 'https://' . $_SERVER['HTTP_HOST'];
} else {