⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
TYPO3 Core
All Projects
TYPO3 Core
Overview
Activity
Roadmap
Issues
Repository
Download (925 Bytes)
Bug #15372
ยป patch-bug-2201-t3libdiv.txt
Administrator Admin, 2006-01-18 23:14
Index: class.t3lib_div.php
===================================================================
RCS file: /cvsroot/typo3/TYPO3core/t3lib/class.t3lib_div.php,v
retrieving revision 1.93
diff -u -r1.93 class.t3lib_div.php
--- class.t3lib_div.php 26 Dec 2005 23:59:37 -0000 1.93
+++ class.t3lib_div.php 18 Jan 2006 22:14:33 -0000
@@ -3304,7 +3304,7 @@
// Read and parse XML content:
$local_xmlString = t3lib_div::getUrl($localized_file);
$local_xmlContent = t3lib_div::xml2array($local_xmlString);
- $LOCAL_LANG[$langKey] = is_array($local_xmlContent['data'][$langKey]) ? $local_xmlContent['data'][$langKey] : array();
+ $LOCAL_LANG[$langKey] = (is_array($local_xmlContent) && is_array($local_xmlContent['data'][$langKey])) ? $local_xmlContent['data'][$langKey] : array();
// Checking if charset should be converted.
if (is_array($LOCAL_LANG[$langKey]) && $origCharset!='utf-8') {
(1-1/1)
Loading...