[BUGFIX] Remove call to not existing function 00/48900/2
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 11 Jul 2016 13:57:18 +0000 (15:57 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Mon, 11 Jul 2016 19:35:51 +0000 (21:35 +0200)
Resolves: #77029
Relates: #70729
Releases: 7.6
Change-Id: I04a63712d271e70957b08b4a2d7348ac384c9ab9
Reviewed-on: https://review.typo3.org/48900
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/core/Classes/Database/QueryView.php

index 9e5b7b6..7231dc3 100644 (file)
@@ -427,7 +427,9 @@ class QueryView
                     $rowArr[] = $this->csvValues($row, ',', '"', $GLOBALS['TCA'][$table], $table);
                 }
                 if (!empty($rowArr)) {
-                    $out .= '<textarea name="whatever" rows="20" wrap="off"' . $GLOBALS['SOBE']->getModuleTemplate()->formWidth($this->formW) . ' class="text-monospace">' . htmlspecialchars(implode(LF, $rowArr)) . '</textarea>';
+                    $out .= '<textarea name="whatever" rows="20" class="text-monospace" style="width:100%">'
+                        . htmlspecialchars(implode(LF, $rowArr))
+                        . '</textarea>';
                     if (!$this->noDownloadB) {
                         $out .= '<br><input class="btn btn-default" type="submit" name="download_file" value="Click to download file" onClick="window.location.href=\'' . $this->downloadScript . '\';">';
                     }