d5c131
diff --git a/subst.c b/subst.c
d5c131
--- a/subst.c
d5c131
+++ b/subst.c
d5c131
@@ -7959,7 +7959,7 @@ parameter_brace_transform (varname, value, ind, xform, rtype, quoted, pflags, fl
d5c131
       return ((char *)NULL);
d5c131
     }
d5c131
 
d5c131
-  if (valid_parameter_transform (xform) == 0)
d5c131
+  if (xform[0] == 0 || valid_parameter_transform (xform) == 0)
d5c131
     {
d5c131
       this_command_name = oname;
d5c131
 #if 0 /* TAG: bash-5.2 Martin Schulte <gnu@schrader-schulte.de> 10/2020 */