Skip to content

Commit

Permalink
Merge pull request #388 from alexander-schranz/bugfix/fetch-column-bu…
Browse files Browse the repository at this point in the history
…gfix

Fix deprecated fetchColumn call
  • Loading branch information
dbu authored Oct 11, 2021
2 parents cf69a7b + b4dff68 commit b7ede19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jackalope/Transport/DoctrineDBAL/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,7 @@ public function getNodePathForIdentifier($uuid, $workspace = null)
$this->assertLoggedIn();

$query = "SELECT path FROM phpcr_nodes WHERE identifier = ? AND workspace_name = ?";
$path = $this->getConnection()->fetchColumn($query, [$uuid, $this->workspaceName]);
$path = $this->getConnection()->fetchOne($query, [$uuid, $this->workspaceName]);
if (!$path) {
throw new ItemNotFoundException("no item found with uuid " . $uuid);
}
Expand Down

0 comments on commit b7ede19

Please sign in to comment.