diff options
Diffstat (limited to 'modules/color/color.module')
-rw-r--r-- | modules/color/color.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/color/color.module b/modules/color/color.module index 0f27c99dc..f58f6fdcc 100644 --- a/modules/color/color.module +++ b/modules/color/color.module @@ -329,7 +329,7 @@ function color_scheme_form_submit($form, &$form_state) { } // Prepare target locations for generated files. - $id = $theme . '-' . substr(md5(serialize($palette) . microtime()), 0, 8); + $id = $theme . '-' . substr(hash('sha256', serialize($palette) . microtime()), 0, 8); $paths['color'] = 'public://color'; $paths['target'] = $paths['color'] . '/' . $id; foreach ($paths as $path) { |