Explorar o código

Also use $nbsp here as well

pdontthink %!s(int64=17) %!d(string=hai) anos
pai
achega
d20a938e42
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      functions/options.php

+ 1 - 2
functions/options.php

@@ -478,8 +478,7 @@ class SquirrelOption {
      */
     function createWidget_Boolean() {
 
-        global $oTemplate;
-        $nbsp = $oTemplate->fetch('non_breaking_space.tpl');
+        global $oTemplate, $nbsp;
 
         /* Build the yes choice. */
         $yes_option = addRadioBox('new_' . $this->name, ($this->value != SMPREF_NO), SMPREF_YES, array_merge(array('id' => 'new_' . $this->name . '_yes'), $this->aExtraAttribs)) . $nbsp . create_label(_("Yes"), 'new_' . $this->name . '_yes');