projects
/
matthijs
/
upstream
/
blosxom-plugins.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use empty string instead of undef in substitution.
[matthijs/upstream/blosxom-plugins.git]
/
general
/
interpolate_fancy
diff --git
a/general/interpolate_fancy
b/general/interpolate_fancy
index 4f5b6ebc3ec01d201a416e57ec77bb9a45871fef..c4557698c18a740220a1f35ed99be4668e1d4ab5 100644
(file)
--- a/
general/interpolate_fancy
+++ b/
general/interpolate_fancy
@@
-134,7
+134,7
@@
sub do_interpolate {
# Variable expansion (unconditional, recursive)
#
# e.g. <$var />
# Variable expansion (unconditional, recursive)
#
# e.g. <$var />
- while( $template =~ s/<\$([a-zA-Z?]\w+(?:::\w+)*)\s+?\/>/"defined \$$1 ? \$$1 :
undef
"/gsee ) { }
+ while( $template =~ s/<\$([a-zA-Z?]\w+(?:::\w+)*)\s+?\/>/"defined \$$1 ? \$$1 :
''
"/gsee ) { }
#
# Actions
#
# Actions