Skip to content

Commit ed624c3

Browse files
committed
Fix param name
1 parent b48b1f7 commit ed624c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Audit/Adapters/MySQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function getLogsByResource(string $resource): array
8181
ORDER BY `time` DESC LIMIT 10
8282
');
8383

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

8686
$st->execute();
8787

0 commit comments

Comments
 (0)