summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Bridge.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bridge.php b/src/Bridge.php
index ae3f867..d9f0dec 100644
--- a/src/Bridge.php
+++ b/src/Bridge.php
@@ -115,7 +115,7 @@ class Bridge {
}
public function unregisterMessage($editId) {
- throw_if_null($messageId);
+ throw_if_null($editId);
$sql = 'DELETE FROM posts WHERE edit_id = ' . $editId;