If we're checking the key is *, no point reusing it, as we know what it is. Simplfy bug link/reference
else
$string = $spaces . "-\n";
} else {
else
$string = $spaces . "-\n";
} else {
- if ($key == '*') //https://bugzilla.wikimedia.org/show_bug.cgi?id=21922 - Quote asterix used as keys
- $key = "'{$key}'";
+ if ($key == '*') //bug 21922 - Quote asterix used as keys
+ $key = "'*'";
// It's mapped
if ( $value !== '' && !is_null( $value ) )
// It's mapped
if ( $value !== '' && !is_null( $value ) )