# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /Users/dave/Sites/democrats/trunk/sites/all/modules/contrib/parallel
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: parallel.module
--- parallel.module Base (BASE)
+++ parallel.module Locally Modified (Based On LOCAL)
@@ -105,8 +105,9 @@
       $variables['closure'] = str_replace(' src="/', ' src="' . variable_get('parallel_domain_js', '') . '/', $variables['closure']);
     }
     if (variable_get('parallel_domain_img', '') != '') {
+      $skip_keys = array('styles', 'scripts', 'closure', 'zebra', 'id', 'directory', 'layout', 'head_title', 'base_path', 'front_page', 'head', 'body_clases');
       foreach ($variables as $key => $value) {
-        if (is_string($value)) {
\ No newline at end of file
+        if (!in_array($key, $skip_keys) && is_string($value) && !empty($value)) {
\ No newline at end of file
           $variables[$key] = parallel_image_replace($value, variable_get('parallel_domain_img', ''));
         }
       }
