From: pcanterino <> Date: Wed, 10 Nov 2004 15:05:57 +0000 (+0000) Subject: Another bug in the same line! X-Git-Tag: version_2_2~10 X-Git-Url: https://git.p6c8.net/devedit.git/commitdiff_plain/ff6b963d7af92549b2832612227b86d78ebf4140?hp=d5667647dac12479639fc0147da616a70259b83e Another bug in the same line! I should work more properly... --- diff --git a/modules/Command.pm b/modules/Command.pm index abff136..eb68421 100644 --- a/modules/Command.pm +++ b/modules/Command.pm @@ -6,7 +6,7 @@ package Command; # Execute Dev-Editor's commands # # Author: Patrick Canterino -# Last modified: 2004-11-09 +# Last modified: 2004-11-10 # use strict; @@ -100,7 +100,7 @@ sub exec_show($$) return error($config->{'errors'}->{'no_dir_access'},upper_path($virtual)) unless(-r $physical && -x $physical); my $direntries = dir_read($physical); - return error($config->{'dir_read_failed'},upper_path($virtual),{DIR => $virtual}) unless($direntries); + return error($config->{'dir_read_fail'},upper_path($virtual),{DIR => $virtual}) unless($direntries); my $files = $direntries->{'files'}; my $dirs = $direntries->{'dirs'};