Skip to content

Commit 60338cb

Browse files
JamesDPCgithub-actions[bot]
authored andcommitted
[rector] Automated updates generated by rector configuration
1 parent 36aa5fc commit 60338cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Policy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function onAfterWrite()
243243
parent::onAfterWrite();
244244
if ($this->exists() && $this->IsBasePolicy == 1) {
245245
// clear other base policies, without using ORM
246-
DB::prepared_query("UPDATE \"CspPolicy\" SET IsBasePolicy = 0 WHERE IsBasePolicy = 1 AND ID <> ?", [$this->ID]);
246+
DB::prepared_query('UPDATE "CspPolicy" SET IsBasePolicy = 0 WHERE IsBasePolicy = 1 AND ID <> ?', [$this->ID]);
247247
}
248248
}
249249

0 commit comments

Comments
 (0)