Fixed failure in test 250 of t/00_compile.t.

not ok 250 - WebGUI/Asset/Wobject/StoryArchive.pm compiles without warnings
@   Failed test 'WebGUI/Asset/Wobject/StoryArchive.pm compiles without warnings'
@   at 00_compile.t line 52.
@          got: 'Argument "." isn't numeric in numeric eq (==) at /Users/hao/Dropbox/PB/wg/webgui/lib/WebGUI/Asset/Wobject/StoryArchive.pm line 383.'
@     expected: ''
This commit is contained in:
hao 2009-10-02 07:52:48 -04:00
parent 5c03cfbfbe
commit 7a439fd702
2 changed files with 2 additions and 1 deletions

View file

@ -34,6 +34,7 @@
- fixed #11081: Prop style in 7.8.0?
- fixed #11083: TGC template bug fixes, round #1
- fixed #10544: Child assets under uncommitted parents
- fixed failure in test 250 of t/00_compile.t
7.8.0
- upgraded YUI to 2.8.0r4

View file

@ -380,7 +380,7 @@ sub getKeywordStaticURL {
my $url = $self->getUrl;
my @parts = split /\//, $url;
my $lastPart = pop @parts;
if (index $lastPart, '.' == -1) {
if (index( $lastPart, '.' ) == -1) {
return join '/', $self->getUrl, $self->getKeywordFilename($keyword);
}
else {