diff options
Diffstat (limited to 'smartyplugins')
| -rw-r--r-- | smartyplugins/block.form.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/smartyplugins/block.form.php b/smartyplugins/block.form.php index fcdb370..2a8eb68 100644 --- a/smartyplugins/block.form.php +++ b/smartyplugins/block.form.php @@ -46,10 +46,11 @@ function smarty_block_form( $pParams, $pContent, &$gBitSmarty) { case 'ipackage': if( $key == 'ipackage' ) { if( $val == 'root' ) { - $url .= BIT_ROOT_URL.$pParams['ifile']; + $url .= BIT_ROOT_URL; } else { - $url .= constant( strtoupper( $val ).'_PKG_URL' ).$pParams['ifile']; + $url .= constant( strtoupper( $val ).'_PKG_URL' ); } + $url .= BitBase::getParameter( $pParams, 'ifile' ); } break; case 'legend': |
