[Rt-commit] r4988 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Fri Apr 7 09:12:29 EDT 2006
Author: ruz
Date: Fri Apr 7 09:12:27 2006
New Revision: 4988
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky
Log:
r2368 at cubic-pc: cubic | 2006-04-07 00:23:51 +0400
* return imidiatly if nothing to do
Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/MakeClicky Fri Apr 7 09:12:27 2006
@@ -60,6 +60,8 @@
$content => undef
</%ARGS>
<%INIT>
+return unless $regexp;
+return unless defined $$content;
$$content =~ s/($regexp)/$handle->( %ARGS, value => ($1 || '') )/gsieo;
@@ -89,4 +91,4 @@
have to. This can be used to add pre- or post-processing around
all actions.
-</%doc>
\ No newline at end of file
+</%doc>
More information about the Rt-commit
mailing list