From ea8473140d4114a67ec88d6b92749d3ea2468034 Mon Sep 17 00:00:00 2001 From: helge Date: Sun, 6 Feb 2005 18:26:27 +0000 Subject: [PATCH] fixed OGo bug #1231 git-svn-id: http://svn.opengroupware.org/SOPE/trunk@540 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-appserver/NGObjWeb/ChangeLog | 3 +++ sope-appserver/NGObjWeb/DynamicElements/WOBrowser.m | 2 +- sope-appserver/NGObjWeb/Version | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index 6bc15ece..a6a2d07e 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,5 +1,8 @@ 2005-02-06 Helge Hess + * DynamicElements/WOBrowser.m: fixed a warning if neither selection + nor selections is set (fixes OGo bug #1231) (v4.5.112) + * Defaults.plist: added "127.0.0.1" to WOHttpAllowHost (v4.5.111) 2005-02-02 Helge Hess diff --git a/sope-appserver/NGObjWeb/DynamicElements/WOBrowser.m b/sope-appserver/NGObjWeb/DynamicElements/WOBrowser.m index 88282d07..42806326 100644 --- a/sope-appserver/NGObjWeb/DynamicElements/WOBrowser.m +++ b/sope-appserver/NGObjWeb/DynamicElements/WOBrowser.m @@ -85,7 +85,7 @@ } if ((self->selection = OWGetProperty(_config, @"selections")) == nil) { - if ((self->selection = OWGetProperty(_config, @"selection")) == nil) { + if ((self->selection = OWGetProperty(_config, @"selection")) != nil) { [self debugWithFormat: @"Note: using deprecated 'selection' binding, " @"use 'selections' instead."]; diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index f9309ce3..28da496b 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=111 +SUBMINOR_VERSION:=112 # v4.5.91 requires libNGExtensions v4.5.134 # v4.5.84 requires libNGExtensions v4.5.127 -- 2.39.5