+2005-09-09 Helge Hess <helge.hess@skyrix.com>
+
+ * WETableMatrixLabel.m: avoid an edge condition when the position
+ binding is missing (v4.5.82)
+
2005-08-27 Helge Hess <helge.hess@opengroupware.org>
* WETableView: added common.h file to support PCH (not required for
# version file
-SUBMINOR_VERSION:=81
+SUBMINOR_VERSION:=82
# v4.5.76 requires libNGObjWeb v4.5.176
# v4.5.75 requires libNGObjWeb v4.5.174
pos = [self->position stringValueInComponent:[_ctx component]];
- if ((tmp = [_ctx valueForKey:@"WETableMatrix_Query"])) {
- [tmp addObject:pos];
+ if ((tmp = [_ctx valueForKey:@"WETableMatrix_Query"]) != nil) {
+ if (pos == nil)
+ [self errorWithFormat:@"got no position: %@", self->position];
+ else
+ [tmp addObject:pos];
return;
}