diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-26 13:52:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-26 13:52:13 +0000 |
commit | b4534e89a5e9a18d02299507de1c97e5f6251347 (patch) | |
tree | cba2e9eb3114fbd9c0d4a7755ad0152f5afb8a86 /modules/system/system.admin.inc | |
parent | 63e195eb3024e9aa79c1c4bc7285b329329c91af (diff) | |
download | brdo-b4534e89a5e9a18d02299507de1c97e5f6251347.tar.gz brdo-b4534e89a5e9a18d02299507de1c97e5f6251347.tar.bz2 |
- Patch #263445 by Dave Reid, merlinofchaos: replace improper use of drupal_to_js() with drupal_json().
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 99033a326..e7c378044 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1717,8 +1717,7 @@ function system_date_time_settings_submit($form, &$form_state) { */ function system_date_time_lookup() { $result = format_date(REQUEST_TIME, 'custom', $_GET['format']); - echo drupal_to_js($result); - exit; + drupal_json($result); } /** |