Skip to content

Commit

Permalink
Item13178: Clean up unneeded debug & a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Mar 2, 2015
1 parent 87916c8 commit 59d3605
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/Handlers.pm
Expand Up @@ -336,7 +336,7 @@ sub _populateVars {
my @nvars;
my @nexp;

# Do the sort by lenght.
# Do the sort by length.
foreach
my $k ( sort { length( $varh{$b} ) <=> length( $varh{$a} ) } keys %varh )
{
Expand All @@ -363,7 +363,6 @@ sub expandVarsInURL {
my ( $url, $opts ) = @_;

return '' unless $url;
my $orig = $url;

_populateVars($opts);
for my $i ( 0 .. $#VARS ) {
Expand Down

0 comments on commit 59d3605

Please sign in to comment.