diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/block.module | 2 | ||||
-rw-r--r-- | modules/block/block.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/block.module b/modules/block.module index 847b55aa8..b04799fc4 100644 --- a/modules/block.module +++ b/modules/block.module @@ -227,7 +227,7 @@ function block_box_form($edit = array()) { $form = form_textfield("Title", "title", $edit["title"], 50, 64); $form .= form_textfield("Description", "info", $edit["info"], 50, 64); $form .= form_textarea("Body", "body", $edit["body"], 70, 10); - if (user_access("create PHP content")) { + if (user_access("create php content")) { $form .= form_select("Type", "type", $edit["type"], $type); } diff --git a/modules/block/block.module b/modules/block/block.module index 847b55aa8..b04799fc4 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -227,7 +227,7 @@ function block_box_form($edit = array()) { $form = form_textfield("Title", "title", $edit["title"], 50, 64); $form .= form_textfield("Description", "info", $edit["info"], 50, 64); $form .= form_textarea("Body", "body", $edit["body"], 70, 10); - if (user_access("create PHP content")) { + if (user_access("create php content")) { $form .= form_select("Type", "type", $edit["type"], $type); } |