diff options
Diffstat (limited to 'smartyplugins/block.form.php')
| -rw-r--r-- | smartyplugins/block.form.php | 2 |
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 { |
