Skip to content

Commit

Permalink
[BUGFIX] Do not use fetchAll when fetching for a single record
Browse files Browse the repository at this point in the history
  • Loading branch information
majernik committed Sep 20, 2019
1 parent 1da4c4a commit 0d21574
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 0d21574

Please sign in to comment.