added follow up to #7962
authorIngo Renner <ingo.renner@typo3.org>
Wed, 2 Apr 2008 12:45:00 +0000 (12:45 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Wed, 2 Apr 2008 12:45:00 +0000 (12:45 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3516 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_tceforms.php

index 0002015..bf61535 100755 (executable)
@@ -1514,7 +1514,7 @@ class t3lib_TCEforms      {
                                $styleAttrValue = $this->optionTagStyle($p[2]);
                                if ($sM) {
                                        list($selectIconFile,$selectIconInfo) = $this->getIcon($p[2]);
-                                               if (!empty($selectIconFile)) {
+                                               if (!empty($selectIconInfo)) {
                                                        $selectedStyle = ' style="background-image: url('.$selectIconFile.'); background-repeat: no-repeat; background-position: 0% 50%; padding: 1px; padding-left: 22px;"';
                                                }
                                }