[Rt-commit] [svn] r931 - in rtfm/trunk: . html/RTFM/Article/Elements
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Wed May 19 01:19:06 EDT 2004
Author: jesse
Date: Wed May 19 01:19:04 2004
New Revision: 931
Modified:
rtfm/trunk/ (props changed)
rtfm/trunk/html/RTFM/Article/Elements/EditCustomField
Log:
----------------------------------------------------------------------
r1603 at debian: jesse | 2004-05-19T14:10:14.060689Z
----------------------------------------------------------------------
r1604 at debian: jesse | 2004-05-19T14:22:09.598862Z
Fixing extraction of ticket content to RTFM articles
----------------------------------------------------------------------
Modified: rtfm/trunk/html/RTFM/Article/Elements/EditCustomField
==============================================================================
--- rtfm/trunk/html/RTFM/Article/Elements/EditCustomField (original)
+++ rtfm/trunk/html/RTFM/Article/Elements/EditCustomField Wed May 19 01:19:04 2004
@@ -12,11 +12,10 @@
% elsif ($CustomFieldObj->Type =~ /(?:Text)/) {
% my $name = "Article-$id-CustomField-".$CustomFieldObj->Id."-Values";
<textarea rows="25" cols="70" name="<%$name%>">
-% my $content;
%while (my $value = $Values->Next ) {
-% $content .= $value->Content;
+% $Content .= $value->Content;
%}
-<%$content || $ARGS{$name}%>
+<%$Content || $ARGS{$name}%>
</textarea>
% }
% elsif ($CustomFieldObj->Type =~ /^Select/) {
@@ -49,4 +48,5 @@
$ArticleObj => undef
$CustomFieldObj => undef
$Values => undef
+$Content => undef
</%ARGS>
More information about the Rt-commit
mailing list