Skip to content

Commit

Permalink
2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
benkeen committed May 1, 2018
1 parent d2b8dfa commit 0cbd107
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/Module.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class Module extends FormToolsModule
protected $author = "Ben Keen";
protected $authorEmail = "[email protected]";
protected $authorLink = "https://formtools.org";
protected $version = "2.0.5";
protected $date = "2018-01-27";
protected $version = "2.0.6";
protected $date = "2018-04-30";
protected $originLanguage = "en_us";
protected $jsFiles = array(
"{FTROOT}/global/codemirror/lib/codemirror.js",
Expand Down
2 changes: 1 addition & 1 deletion page.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
$has_permission = false;
}
if ($page_info["access_type"] == "private") {
if (in_array($account_id, $page_info["clients"])) {
if (!in_array($account_id, $page_info["clients"])) {
$has_permission = false;
}
}
Expand Down

0 comments on commit 0cbd107

Please sign in to comment.