summaryrefslogtreecommitdiff
path: root/modules/statistics
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-08-18 18:58:47 +0000
committerDries Buytaert <dries@buytaert.net>2006-08-18 18:58:47 +0000
commit7de41539df93abeea427c1aa83ee7e13684a4fc6 (patch)
treecbe403960892b0f34dbc2674bd068686b6b22693 /modules/statistics
parente2f42cf3d544bc90accaab9eff800277ac60c9f1 (diff)
downloadbrdo-7de41539df93abeea427c1aa83ee7e13684a4fc6.tar.gz
brdo-7de41539df93abeea427c1aa83ee7e13684a4fc6.tar.bz2
- Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model.
Diffstat (limited to 'modules/statistics')
-rw-r--r--modules/statistics/statistics.module5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module
index bed1cdbbf..1d468c413 100644
--- a/modules/statistics/statistics.module
+++ b/modules/statistics/statistics.module
@@ -152,7 +152,8 @@ function statistics_menu($may_cache) {
'path' => 'admin/logs/settings',
'title' => t('access log settings'),
'description' => t('Control details about what and how your site logs.'),
- 'callback' => 'statistics_access_logging_settings',
+ 'callback' => 'drupal_get_form',
+ 'callback arguments' => array('statistics_access_logging_settings'),
'access' => user_access('administer site configuration'),
'type' => MENU_NORMAL_ITEM
);
@@ -400,7 +401,7 @@ function statistics_access_logging_settings() {
'#options' => $options,
'#description' => t('Increment a counter each time content is viewed.'));
- return system_settings_form('statistics_access_logging_settings', $form);
+ return system_settings_form($form);
}
/**