diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/builtin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index ba384068d..bc685455d 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -2141,7 +2141,8 @@ typeset_single(char *cname, char *pname, Param pm, UNUSED(int func), if (OPT_ISSET(ops,'p')) paramtab->printnode(&pm->node, PRINT_TYPESET); else if (!OPT_ISSET(ops,'g') && - (unset(TYPESETSILENT) || OPT_ISSET(ops,'m'))) + (unset(TYPESETSILENT) || OPT_ISSET(ops,'m')) + && !asg->is_array) paramtab->printnode(&pm->node, PRINT_INCLUDEVALUE); return pm; } |