Commit 9b75c24a authored by Peter Philipp's avatar Peter Philipp Committed by Hai-Nam Nguyen
Browse files

Issue #1983826 by das-peter, Kevin Rogers, Carl Johan, HEY_GERMANO, samspinoy...

Issue #1983826 by das-peter, Kevin Rogers, Carl Johan, HEY_GERMANO, samspinoy | kennywyland: Fixed imageapi_optimize can not correctly process image_imageapi_optimize_get_info.
parent 36f59d0d
......@@ -23,7 +23,7 @@ foreach (module_list() as $module) {
*/
function imageapi_optimize_init() {
$cache = cache_get('imageapi_optimize:methods');
if (!$cache) {
if (!$cache || (empty($cache->data) && variable_get('imageapi_optimize_toolkit', '') != '')) {
$methods = _imageapi_optimize_get_methods();
}
else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment