Wiki: Fix logical error to let not only admin edit the page when page has not yet been edited a first time -refs BT#21063

pull/4909/head
NicoDucou 2 years ago
parent 9a0785d01a
commit 33329fc7dd
  1. 2
      main/wiki/wiki.inc.php

@ -6133,7 +6133,7 @@ class Wiki
//show editor if edit is allowed <<<<<
if ((!empty($row['id']) && $row['editlock'] != 1)
|| api_is_allowed_to_edit(false, true) != false
&& api_is_platform_admin() != false
|| api_is_platform_admin() != false
) {
// Check tasks
if (!empty($row['startdate_assig']) && time() <

Loading…
Cancel
Save