diff --git a/src/Audit/Adapters/MySQL.php b/src/Audit/Adapters/MySQL.php index 65ba038..d05f0ca 100644 --- a/src/Audit/Adapters/MySQL.php +++ b/src/Audit/Adapters/MySQL.php @@ -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();