Skip to content

Commit 27cb613

Browse files
committed
missing bracket
1 parent ef3afd3 commit 27cb613

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/editor/tiny/plugins/collaborative/classes/change_manager.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,12 @@ class change_manager {
5555
public function __construct(
5656
int $contextid,
5757
string $pagehash,
58-
string $pageinstance,
5958
string $elementid,
6059
string $oldcontenthash
6160
) {
6261
global $DB;
6362
$this->contextid = $contextid;
6463
$this->pagehash = $pagehash;
65-
$this->pageinstance = $pageinstance;
6664
$this->elementid = $elementid;
6765
$this->oldcontenthash = $oldcontenthash;
6866
}
@@ -95,7 +93,8 @@ public function get_changes() {
9593
while ($change = $DB->get_record('tiny_collaborative_changes', ['oldcontenthash' => $currenthash,
9694
'pagehash' => $this->$pagehash,
9795
'elementid' => $this->elementid,
98-
'contextid' => $this->contextid,
96+
'contextid' => $this->contextid
97+
]
9998
)) {
10099
$changesarray[] = $change->changes;
101100
$currenthash = $change->newcontenthash;

0 commit comments

Comments
 (0)