Skip to content

Commit 588ea61

Browse files
committed
fixing comparison
1 parent 44139b4 commit 588ea61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gwiki/class/gwikiPage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ public function addRevision($leave_inactive = false)
418418
$this->gwiki_version = $this->gwikiVersion; // new revisions always for current engine
419419

420420
// 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) {
421+
if (!empty($this->page_set_home) && $this->page_set_order === '') {
422422
$this->page_set_order = $this->getNextPageSetOrder($this->page_set_home);
423423
}
424424

0 commit comments

Comments
 (0)