summaryrefslogtreecommitdiff
path: root/modules/color
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-22 03:24:09 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-22 03:24:09 +0000
commit63b9e4770b7bf205a9b707264cb6f77354f77ecd (patch)
tree71c5398c02d35c8b2d365254acdf55764817eee4 /modules/color
parentcdf28e6fd6aa87b8e0302bcc88505f378a38968d (diff)
downloadbrdo-63b9e4770b7bf205a9b707264cb6f77354f77ecd.tar.gz
brdo-63b9e4770b7bf205a9b707264cb6f77354f77ecd.tar.bz2
- Patch #908282 by jbrown: theme_image() performs I/O.
Diffstat (limited to 'modules/color')
-rw-r--r--modules/color/color.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/color/color.module b/modules/color/color.module
index 01341a618..a9d898090 100644
--- a/modules/color/color.module
+++ b/modules/color/color.module
@@ -63,7 +63,7 @@ function _color_theme_select_form_alter(&$form, &$form_state) {
foreach (element_children($form) as $theme) {
if ($screenshot = variable_get('color_' . $theme . '_screenshot')) {
if (isset($form[$theme]['screenshot'])) {
- $form[$theme]['screenshot']['#markup'] = theme('image', array('path' => $screenshot, 'alt' => '', 'title' => '', 'attributes' => array('class' => array('screenshot')), 'getsize' => FALSE));
+ $form[$theme]['screenshot']['#markup'] = theme('image', array('path' => $screenshot, 'title' => '', 'attributes' => array('class' => array('screenshot'))));
}
}
}