Skip to content
Snippets Groups Projects
Commit b2d2fd3c authored by Tim Steiner's avatar Tim Steiner
Browse files

Merging trunk into testing

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/testing@309 20a16fea-79d4-4915-8869-1ea9d5ebf173
parents 9fc8fb53 8146a6d8
Branches
Tags
No related merge requests found
......@@ -218,7 +218,7 @@ function unl_form_alter(&$form, $form_state, $form_id) {
* be using the menu to build a site hierarchy. Instead, add a button that will
* determine whether or not the menu link is visible or not.
*/
if ($form_id == 'page_node_form') {
if (substr($form_id, -10) == '_node_form') {
$form['menu']['#title'] = 'Site hierachy';
$form['menu']['enabled']['#default_value'] = TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment