We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bde8bab commit 6df178bCopy full SHA for 6df178b
composer.json
@@ -5,7 +5,7 @@
5
"keywords": ["activerecord", "orm"],
6
"homepage": "http://www.phpactiverecord.org/",
7
"license": "MIT",
8
- "version": "2.0.1",
+ "version": "2.0.2",
9
"require": {
10
"php": ">=8.1.0"
11
},
lib/Model.php
@@ -1112,7 +1112,7 @@ public function delete()
1112
1113
$options = [
1114
'conditions' => [
1115
- new WhereClause([$this->table()->pk[0] => $pk], [])
+ new WhereClause($pk, [])
1116
]
1117
];
1118
0 commit comments