--- emimage.module.orig	2009-04-20 00:01:06.000000000 +0200
+++ emimage.module	2009-04-20 09:44:51.906250000 +0200
@@ -229,7 +229,7 @@ function emimage_widget_settings($op, $w
         $form['tn']['thumbnail_height'] = array(
           '#type' => 'textfield',
           '#title' => t('Image thumbnail height'),
-          '#default_value' => empty($widget['thumbnail_height']) ? $height : $widget['thumbnail_height'],
+          '#default_value' => ($widget['thumbnail_height'] == '') ? $height : $widget['thumbnail_height'],
           '#required' => true,
           '#description' => t('The height of the image thumbnail. It defaults to @height. Set it to 0 if you want to leave the image at its original aspect ratio.', array('@height' => $height)),
         );
