Hi,

found two syntax errors in imageapi_optimize.module

Line 283

$error .= t('File !file doesn\'t exist.', array('!file' => $file)) . '<br />';    //-->> Undefined variable file

should be

$error .= t('File !file doesn\'t exist.', array('!file' => $data['file'])) . '<br />';

Line 288

watchdog('imageapi_optimize', $errors);    //-->> Undefined variable errors

should be

watchdog('imageapi_optimize', $error);

thanks

Comments

awroblewski created an issue. See original summary.

Steven Jones’s picture

Status: Active » Fixed

Thanks so much, let's get these fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.