Browse Source

Fixing missing typo

Julio Montoya 12 years ago
parent
commit
acde41f6f1
1 changed files with 1 additions and 1 deletions
  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);
 }