Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
- Patch #629826 by Jody Lynn: theme setting toggles for comments appe…
Browse files Browse the repository at this point in the history
…ar when the comment module is disabled.
  • Loading branch information
dries committed Aug 12, 2010
1 parent ebae77c commit 7a61b02
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/system/system.admin.inc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
// $Id: system.admin.inc,v 1.293 2010-07-28 02:57:36 dries Exp $
// $Id: system.admin.inc,v 1.294 2010-08-12 00:34:25 dries Exp $

/**
* @file
Expand Down Expand Up @@ -486,6 +486,10 @@ function system_theme_settings($form, &$form_state, $key = '') {
$disabled['toggle_node_user_picture'] = TRUE;
$disabled['toggle_comment_user_picture'] = TRUE;
}
if (!module_exists('comment')) {
$disabled['toggle_comment_user_picture'] = TRUE;
$disabled['toggle_comment_user_verification'] = TRUE;
}

$form['theme_settings'] = array(
'#type' => 'fieldset',
Expand Down

0 comments on commit 7a61b02

Please sign in to comment.