Skip to content
Snippets Groups Projects
Commit f18697b8 authored by Kjartan Mannes's avatar Kjartan Mannes
Browse files

- changing case for consistency.

parent b3b3fd9a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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);
}
......
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment