[wellwell-devel] [SCM] Interchange wellwell catalog branch, master, updated. 12ad4942ffca20f67d412492227ab34e6ed21164

Stefan Hornburg racke at rt.icdevgroup.org
Wed Mar 10 11:30:34 UTC 2010


       via  12ad4942ffca20f67d412492227ab34e6ed21164 (commit)
      from  6eedde6e5d3b3a213a4891dc443227f1ffede8a9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 12ad4942ffca20f67d412492227ab34e6ed21164
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Wed Mar 10 12:25:21 2010 +0100

    body recognition depends now on the length of the body, as $Tag->acl
    calls pass empty but defined body and [acl]...[/acl] invocations
    might pass an body of whitespace only with good reason
    (e.g. [if-item-field]...[/if-item-field] inside)

-----------------------------------------------------------------------

Summary of changes and diff:
 code/acl.tag |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/code/acl.tag b/code/acl.tag
index 092dac8..c1bdf4a 100644
--- a/code/acl.tag
+++ b/code/acl.tag
@@ -63,7 +63,7 @@ sub {
 		$ret = ! $ret;
 	}
 
-	if ($ret && $body =~ /\S/) {
+	if ($ret && length($body)) {
 		return $body;
 	}
 


hooks/post-receive
-- 
Interchange wellwell catalog



More information about the wellwell-devel mailing list