diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2005-01-17 14:01:54 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2005-01-17 14:01:54 +0000 |
commit | 73660911a5de8029b697e190a2b984fe0581a8d1 (patch) | |
tree | 278adfe5b915237a952fcbf8675bb405404cfd97 /modules/Options.pm | |
parent | 60de646acc44857c790401e222fb2888a91bb87b (diff) | |
download | MPC-73660911a5de8029b697e190a2b984fe0581a8d1.tar.gz |
ChangeLogTag: Mon Jan 17 07:54:36 2005 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/Options.pm')
-rw-r--r-- | modules/Options.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/Options.pm b/modules/Options.pm index a3a2942c..c250c0d1 100644 --- a/modules/Options.pm +++ b/modules/Options.pm @@ -429,7 +429,10 @@ sub options { else { $op = 0; } - $addtemp{$name} = [$op, $val]; + if (!defined $addtemp{$name}) { + $addtemp{$name} = []; + } + push(@{$addtemp{$name}}, [$op, $val]); } else { $self->optionError('Invalid argument to -value_template'); |