Skip to content
Snippets Groups Projects
Commit 358eb25c authored by Kazutaka Miyasaka's avatar Kazutaka Miyasaka Committed by Andreas Gohr
Browse files

fixed "numericopt" handling in plugin:config

parent 3b748871
No related branches found
No related tags found
No related merge requests found
......@@ -629,7 +629,8 @@ if (!class_exists('setting_numeric')) {
$out = '';
if ($fmt=='php') {
$out .= '$'.$var."['".$this->_out_key()."'] = ".$this->_local.";\n";
$local = $this->_local === '' ? "''" : $this->_local;
$out .= '$'.$var."['".$this->_out_key()."'] = ".$local.";\n";
}
return $out;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment