Skip to content
Snippets Groups Projects
Commit f5ab681a authored by Graham McVicker's avatar Graham McVicker
Browse files

fixed bug in which undef was being returned from rearrange when zero should...

fixed bug in which undef was being returned from rearrange when zero should have been returned instead
parent ab8d701a
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ sub rearrange {
# What we intend to do is loop through the @{$order} variable,
# and for each value, we use that as a key into our associative
# array, pushing the value at that key onto our return array.
return map {$param{uc("-$_")} || $param{uc($_)}} @$order;
return map {$param{uc("-$_")}} @$order;
}
1;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment