Parcourir la source

Fixing missing typo

Julio Montoya il y a 12 ans
Parent
commit
acde41f6f1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      main/document/edit_document.php

+ 1 - 1
main/document/edit_document.php

@@ -213,7 +213,7 @@ if (empty($document_data['parents'])) {
     }
 }
 
-if (!is_allowed_to_edit) {
+if (!$is_allowed_to_edit) {
     api_not_allowed(true);
 }