[otrs-cvs] otrs/Kernel/System/Ticket Article.pm,1.327,1.328

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/System/Ticket
In directory lancelot:/tmp/cvs-serv24085/Kernel/System/Ticket

Modified Files:
	Article.pm 
Log Message:
Fixed bug#4662 - Unable to save article with '0' as only content.

Author: mg

Index: Article.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Ticket/Article.pm,v
retrieving revision 1.327
retrieving revision 1.328
diff -2 -u -d -r1.327 -r1.328
--- Article.pm	20 Nov 2012 15:58:35 -0000	1.327
+++ Article.pm	6 Feb 2013 08:55:18 -0000	1.328
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/Ticket/Article.pm - global article module for OTRS kernel
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -182,5 +182,5 @@
     # add 'no body' if there is no body there!
     my @AttachmentConvert;
-    if ( !$Param{Body} ) {
+    if ( !length $Param{Body} ) {    # allow '0' as body
         $Param{Body} = 'No body';
     }
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.