# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /home/quickstart/websites/digipolis.local/docroot/sites/all/modules/patched/modules/spaces
# 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: spaces.module
--- spaces.module Base (BASE)
+++ spaces.module Locally Modified (Based On LOCAL)
@@ -734,7 +734,8 @@
     if (isset($type_info['path'])) {
       $path = preg_replace('/%(|[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)$/', $space->id, $type_info['path']);
       menu_set_active_item($path);
-      return menu_execute_active_handler();
+      menu_execute_active_handler();
+      exit();
     }
   }
   drupal_not_found();
