Skip to content

Commit

Permalink
Fix menu items in general_mod_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
psrustik committed Apr 22, 2014
1 parent 48b6955 commit 7393d45
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CleantalkMod.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ function cleantalk_get_api_key()
*/
function cleantalk_general_mod_settings(&$config_vars)
{
$config_vars += array(
array('title', 'cleantalk_settings'),
array('text', 'cleantalk_api_key'),
array('desc', 'cleantalk_api_key_description'),
);
$config_vars[] = array('title', 'cleantalk_settings');
$config_vars[] = array('text', 'cleantalk_api_key');
$config_vars[] = array('desc', 'cleantalk_api_key_description');
}

0 comments on commit 7393d45

Please sign in to comment.