[Bps-public-commit] r12274 - RTFM-Extension-ArticleTemplate/html/Callbacks/RTFM-Extension-ArticleTemplates/RTFM/Article/Elements/Preformatted
ruz at bestpractical.com
ruz at bestpractical.com
Mon May 12 17:31:09 EDT 2008
Author: ruz
Date: Mon May 12 17:31:09 2008
New Revision: 12274
Modified:
RTFM-Extension-ArticleTemplate/html/Callbacks/RTFM-Extension-ArticleTemplates/RTFM/Article/Elements/Preformatted/ProcessContent
Log:
* $content is a reference
Modified: RTFM-Extension-ArticleTemplate/html/Callbacks/RTFM-Extension-ArticleTemplates/RTFM/Article/Elements/Preformatted/ProcessContent
==============================================================================
--- RTFM-Extension-ArticleTemplate/html/Callbacks/RTFM-Extension-ArticleTemplates/RTFM/Article/Elements/Preformatted/ProcessContent (original)
+++ RTFM-Extension-ArticleTemplate/html/Callbacks/RTFM-Extension-ArticleTemplates/RTFM/Article/Elements/Preformatted/ProcessContent Mon May 12 17:31:09 2008
@@ -16,11 +16,11 @@
%#
%# END LICENSE BLOCK
<%init>
-my ($new, $msg) = $Article->ParseTemplate( $content, Ticket => $Ticket );
+my ($new, $msg) = $Article->ParseTemplate( $$content, Ticket => $Ticket );
unless ( defined $new && length $new ) {
$RT::Logger->error("Couldn't parse article's content: $msg");
} else {
- $content = $new;
+ $$content = $new;
}
</%init>
<%args>
More information about the Bps-public-commit
mailing list