Skip to content

Commit 5f5c0fd

Browse files
committed
typo fix
1 parent 1473eb2 commit 5f5c0fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Model/Wiki.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ public function reorderPages($project_id, $src_wiki_id, $target_wiki_id){
136136
// update moved src
137137
$targetColumn--;
138138
// echo "oldSourceColumn: " . $oldSourceColumn . " targetColumn: " . $targetColumn . "<br>";
139-
if($oldSourceColumn != targetColumn){
139+
if($oldSourceColumn != $targetColumn){
140140
// echo "updating src ". $src_wiki_id . " column to ". $targetColumn -1 . "<br>";
141-
$result = $this->savePagePosition($src_wiki_id, $orderColumn);
141+
$result = $this->savePagePosition($src_wiki_id, $targetColumn);
142142
if(!$result){
143143
return false;
144144
}

0 commit comments

Comments
 (0)