Skip to content

Commit

Permalink
Unlock the old page after moving
Browse files Browse the repository at this point in the history
  • Loading branch information
michitux committed Dec 30, 2012
1 parent 493bca2 commit 947ab47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ public function move_page(&$opts, $checkonly = false) {
}

p_set_metadata($opts['new_id'], array('plugin_pagemove' => $page_meta), false, true);

unlock($ID);
}

$event->advise_after();
Expand Down

0 comments on commit 947ab47

Please sign in to comment.