I made the change to line 36 to if ($connection == 'SSL' && ENABLE_SSL == 'true') {
but now I get the following errors.

Warning: strstr(): Empty delimiter. in /includes/classes/bmz_image_handler.class.php on line 126

Warning: strstr(): Empty delimiter. in /includes/classes/bmz_image_handler.class.php on line 128

any ideas on what I did wrong?