Index: t3lib/class.t3lib_arraybrowser.php
===================================================================
--- t3lib/class.t3lib_arraybrowser.php (revision 6437)
+++ t3lib/class.t3lib_arraybrowser.php (working copy)
@@ -105,7 +105,7 @@
while (list($key,)=each($arr)) {
$a++;
$depth = $depth_in.$key;
- $goto = substr(md5($depth),0,6);
+ $goto = 'a' . substr(md5($depth), 0, 6);
$deeper = (is_array($arr[$key]) && ($this->depthKeys[$depth] || $this->expAll)) ? 1 : 0;
$PM = 'join';
@@ -120,7 +120,7 @@
$HTML.=$theIcon;
} else {
$HTML.=
- ($this->expAll ? '' : '').
+ ($this->expAll ? '' : '') .
$theIcon.
($this->expAll ? '' : '');
}
@@ -159,7 +159,11 @@
* @return string Title string, htmlspecialchars()'ed
*/
function wrapValue($theValue,$depth) {
- return ''.htmlspecialchars($theValue).'';
+ $wrappedValue = '';
+ if (strlen($theValue) > 0 ) {
+ $wrappedValue = '' . htmlspecialchars($theValue) . '';
+ }
+ return $wrappedValue;
}
/**
@@ -178,7 +182,7 @@
// If varname is set:
if ($this->varName && !$this->dontLinkVar) {
$variableName = $this->varName.'[\''.str_replace('.','\'][\'',$depth).'\'] = '.(!t3lib_div::testInt($theValue) ? '\''.addslashes($theValue).'\'' : $theValue).'; ';
- $label = ''.$label.'';
+ $label = '' . $label . '';
}
// Return: