Commit 52bfbe2c authored by Rupert Germann's avatar Rupert Germann
Browse files

fix for function getBorderAttr: closes bugs 1360 and 1461


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_3-8@853 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 8c6edf05
......@@ -2515,7 +2515,7 @@ class tslib_cObj {
* @return string the border attribute
*/
function getBorderAttr($borderAttr) {
if (!t3lib_div::inList('xhtml_strict,xhtml_11,xhtml_2',$GLOBALS['TSFE']->config['config']['doctype']) || !$GLOBALS['TSFE']->config['config']['disableImgBorderAttr']) {
if (!t3lib_div::inList('xhtml_strict,xhtml_11,xhtml_2',$GLOBALS['TSFE']->config['config']['doctype']) && !$GLOBALS['TSFE']->config['config']['disableImgBorderAttr']) {
return $borderAttr;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment