fix for function getBorderAttr()
authorRupert Germann <rupi@gmx.li>
Wed, 9 Nov 2005 14:10:34 +0000 (14:10 +0000)
committerRupert Germann <rupi@gmx.li>
Wed, 9 Nov 2005 14:10:34 +0000 (14:10 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@850 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/cms/tslib/class.tslib_content.php

index 61f2f0a..da1712a 100755 (executable)
@@ -2575,7 +2575,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;
                }
        }