Fixed bug #3594: No lang resolution for title in <tx_templavoila> element
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Wed, 12 Jul 2006 11:24:14 +0000 (11:24 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Wed, 12 Jul 2006 11:24:14 +0000 (11:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1626 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php

index be73aaa..fd85722 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2006-07-12 Dmitry Dulepov <typo3@accio.lv>
+
+       * Fixed bug #3594: No lang resolution for title in <tx_templavoila> element
 
 2006-07-11  Martin Kutschker  <martin.t.kutschker@blackbox.net>
 
index b63d03b..abf3c28 100755 (executable)
@@ -2240,7 +2240,7 @@ class t3lib_TCEforms      {
                                                                $opt=array();
                                                                $opt[]='<option value=""></option>';
                                                                foreach($value['el'] as $kk => $vv)     {
-                                                                       $opt[]='<option value="'.$kk.'">'.htmlspecialchars('NEW "'.$value['el'][$kk]['tx_templavoila']['title'].'"').'</option>';
+                                                                       $opt[]='<option value="'.$kk.'">'.htmlspecialchars('NEW "'.$this->sL($value['el'][$kk]['tx_templavoila']['title']).'"').'</option>';
                                                                }
                                                                $rowCells['formEl']='<select name="flexFormsCmdData'.$formPrefix.'['.$key.'][value]">'.implode('',$opt).'</select>';
                                                        }