Update of /cvsroot/stack/stack-dev/lib/ui/inputTypes
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv23206/lib/ui/inputTypes
Modified Files:
Tag: STACK2_2
TextArea.php
Log Message:
Fixed 3077116
Index: TextArea.php
===================================================================
RCS file: /cvsroot/stack/stack-dev/lib/ui/inputTypes/TextArea.php,v
retrieving revision 1.2.10.3
retrieving revision 1.2.10.4
diff -C2 -d -r1.2.10.3 -r1.2.10.4
*** TextArea.php 18 Aug 2010 09:35:54 -0000 1.2.10.3
--- TextArea.php 29 Sep 2010 09:23:28 -0000 1.2.10.4
***************
*** 134,137 ****
--- 134,141 ----
public function transform($in)
{
+ if(''==trim($in)) {
+ return('');
+ }
+
$vals = explode("\n",$in);
$out = '[';
|