1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-26 02:55:02 +00:00

Bugfix: unable to disable page protection. Fixes #36.

This commit is contained in:
Starbeamrainbowlabs 2015-11-12 09:31:50 +00:00
parent 41d18dc539
commit 839767ad62
3 changed files with 3 additions and 3 deletions

View file

@ -1242,7 +1242,7 @@ register_module([
if(!$toggled && $pageindex->$page->protect === true)
{
$pageindex->$page->protected = false;
$pageindex->$page->protect = false;
$toggled = false;
}

View file

@ -14,7 +14,7 @@
"author": "Starbeamrainbowlabs",
"description": "Exposes Pepperminty Wiki's new page protection mechanism and makes the protect button in the 'More...' menu on the top bar work.",
"id": "action-protect",
"lastupdate": 1447320482,
"lastupdate": 1447320607,
"optional": false
},
{

View file

@ -24,7 +24,7 @@ register_module([
if(!$toggled && $pageindex->$page->protect === true)
{
$pageindex->$page->protected = false;
$pageindex->$page->protect = false;
$toggled = false;
}