[BUGFIX] dbFileIcons: Show UID for internal_type db 39/38239/3
authorAndreas Allacher <andreas.allacher@gmx.at>
Thu, 26 Mar 2015 13:04:42 +0000 (14:04 +0100)
committerAndreas Fernandez <andreas.fernandez@aspedia.de>
Wed, 22 Apr 2015 08:30:35 +0000 (10:30 +0200)
The UID value for show_thumbs needs to be shown for internal_type db,
and not for internal_type file,folder, ...

Change-Id: Iea97d5b03ece19562e9834147f1ce601f2e9e039
Resolves: #66044
Releases: master
Reviewed-on: http://review.typo3.org/38239
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php

index 95a2283..80d6a10 100644 (file)
@@ -753,7 +753,7 @@ abstract class AbstractFormElement {
                                                                ' . ($config['internal_type'] === 'db'
                                                        ? $this->getControllerDocumentTemplate()->wrapClickMenuOnIcon($thumbnail['name'], $thumbnail['table'], $thumbnail['uid'], 1, '', '+copy,info,edit,view')
                                                        : $thumbnail['name']) . '
-                                                               ' . ($config['internal_type'] === 'db' ? '' : ' <span class="text-muted">[' . $thumbnail['uid'] . ']</span>') . '
+                                                               ' . ($config['internal_type'] === 'db' ? ' <span class="text-muted">[' . $thumbnail['uid'] . ']</span>' : '') . '
                                                        </td>
                                                </tr>
                                                ';