From: helge Date: Sat, 6 Aug 2005 18:29:48 +0000 (+0000) Subject: fixed a bug in handling an error case X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bee078373f4b9be7ad7ddc05d572a6b46ea3df77;p=sope fixed a bug in handling an error case git-svn-id: http://svn.opengroupware.org/SOPE/trunk@988 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index 34643760..5ba0f189 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,3 +1,8 @@ +2005-08-06 Helge Hess + + * Templates/WOHTMLParser.m (_parseHashElement): fixed a bug in + detecting errors (v4.5.184) + 2005-08-05 Helge Hess * v4.5.183 diff --git a/sope-appserver/NGObjWeb/Templates/WOHTMLParser.m b/sope-appserver/NGObjWeb/Templates/WOHTMLParser.m index d8c64aeb..420de19d 100644 --- a/sope-appserver/NGObjWeb/Templates/WOHTMLParser.m +++ b/sope-appserver/NGObjWeb/Templates/WOHTMLParser.m @@ -481,7 +481,7 @@ static WOElement *_parseHashElement(NSZone *_zone, const unichar *_buffer, #if HEAVY_DEBUG [self errorWithFormat:@"got no name for hash tag '<#NAME>'"]; #endif - if (_exc != nil) // if there was an error .. + if (_exc != NULL && *_exc != nil) // if there was an error .. return nil; } diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index 5d06ea3d..951a2ffa 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=183 +SUBMINOR_VERSION:=184 # v4.5.122 requires libNGExtensions v4.5.153 # v4.5.91 requires libNGExtensions v4.5.134