From a539b0e00dedddfea36d4a96b788e42923056a78 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 5 Sep 2009 15:05:05 +0000 Subject: - Patch by #565496 by dropcube, pwolanin: changed Allow dynamic attaching of other types of stuff to render() structures. --- modules/upload/upload.admin.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/upload/upload.admin.inc') diff --git a/modules/upload/upload.admin.inc b/modules/upload/upload.admin.inc index 7d9d14716..759cde460 100644 --- a/modules/upload/upload.admin.inc +++ b/modules/upload/upload.admin.inc @@ -69,8 +69,8 @@ function upload_admin_settings() { '#type' => 'fieldset', '#title' => t('General settings'), '#collapsible' => TRUE, - '#attached_css' => array( - drupal_get_path('module', 'upload') . '/upload.admin.css', + '#attached'=> array( + 'css' => array(drupal_get_path('module', 'upload') . '/upload.admin.css'), ), ); $form['settings_general']['upload_max_resolution'] = array( -- cgit v1.2.3