Skip to content

Commit

Permalink
Merge pull request #1 from majernik/TYPO3_9
Browse files Browse the repository at this point in the history
[BUGFIX] Do not use fetchAll when fetching for a single record
  • Loading branch information
Florian Wessels authored Sep 24, 2019
2 parents 1da4c4a + 0d21574 commit a0a42e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Hooks/JumpurlController.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public function getRawRecord($table, $uid, $fields = '*')
)
->execute();

$row = $res->fetchAll();
$row = $res->fetch();

if ($row) {
if (is_array($row)) {
Expand Down

0 comments on commit a0a42e0

Please sign in to comment.