Preventing missing langvars from causing problems.
This commit is contained in:
parent
087fe9a13a
commit
9f42704254
@ -206,6 +206,8 @@ sub replace_langvar {
|
||||
|
||||
# Make the default value be the variable name in red to hilight problems
|
||||
$default = "<span style=\"color: red\">$varname</span>";
|
||||
} elsif(!defined($default)) {
|
||||
$default = "<span style=\"color: red\">$varname</span>";
|
||||
}
|
||||
|
||||
# strip the leadin L_ if present
|
||||
|
Loading…
x
Reference in New Issue
Block a user