Changed one line in getAltParam() which was using an uninitiliased variable.
authorRobert Lemke <robert.lemke@typo3.org>
Wed, 24 Mar 2004 11:29:58 +0000 (11:29 +0000)
committerRobert Lemke <robert.lemke@typo3.org>
Wed, 24 Mar 2004 11:29:58 +0000 (11:29 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@149 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index 1e072bb..4bba4ab 100755 (executable)
@@ -2482,7 +2482,7 @@ class tslib_cObj {
         */
        function getAltParam($conf)     {
                $altText = $this->stdWrap($conf['altText'],$conf['altText.']);
-               $altParam .= ' alt="'.htmlspecialchars(strip_tags($altText)).'"';
+               $altParam = ' alt="'.htmlspecialchars(strip_tags($altText)).'"';
 
                $titleText = $this->stdWrap($conf['titleText'],$conf['titleText.']);
                if ($titleText) {