Permalink
Browse files

Enhance of set boolean

Signed-off-by: Gergely <t-gely@freemail.hu>
  • Loading branch information...
1 parent ab4b611 commit d33118c6de61f3cc1c42584a29de8cc32c72f0b1 @tgely committed Apr 13, 2011
@@ -9,7 +9,7 @@
use osCommerce\OM\Core\OSCOM;
function osc_cfg_set_boolean_value($select_array, $default, $key = null) {
- $string = '';
+ $string = '<br />';
$select_array = explode(',', substr($select_array, 6, -1));
@@ -44,7 +44,7 @@ function osc_cfg_set_boolean_value($select_array, $default, $key = null) {
}
if ( !empty($string) ) {
- $string = '<br />' . substr($string, 0, -6);
+ $string = substr($string, 0, -6);
}
return $string;

0 comments on commit d33118c

Please sign in to comment.