Got a warning after saving nodes without entering any images:

Warning: Invalid argument supplied for foreach() in swfupload_widget_value() (line 84 of .../sites/all/modules/swfupload/swfupload_widget.inc).

Fixed it by checking for is_array($input) on a line insertion around the mentioned foreach() statement. Final code:

    // Files need an integer value for the 'display' field.
	if( is_array($input) ){
		foreach ($input as $fid => $file) {
		  if (empty($file['display'])) {
			$input[$fid]['display'] = 0;
		  }
		}
	}
    return $input;

Cheers