Skip to content

Commit

Permalink
Fix param name
Browse files Browse the repository at this point in the history
  • Loading branch information
eldadfux committed Apr 17, 2020
1 parent b48b1f7 commit ed624c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Audit/Adapters/MySQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function getLogsByResource(string $resource): array
ORDER BY `time` DESC LIMIT 10
');

$st->bindValue(':resourceId', $resource, PDO::PARAM_STR);
$st->bindValue(':resource', $resource, PDO::PARAM_STR);

$st->execute();

Expand Down

0 comments on commit ed624c3

Please sign in to comment.