We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44139b4 commit 588ea61Copy full SHA for 588ea61
gwiki/class/gwikiPage.php
@@ -418,7 +418,7 @@ public function addRevision($leave_inactive = false)
418
$this->gwiki_version = $this->gwikiVersion; // new revisions always for current engine
419
420
// if we are adding to a page set, auto increment the order if none specified
421
- if (!empty($this->page_set_home) && $this->page_set_order === 0) {
+ if (!empty($this->page_set_home) && $this->page_set_order === '') {
422
$this->page_set_order = $this->getNextPageSetOrder($this->page_set_home);
423
}
424
0 commit comments