From bfc5e222c172bec0daad822ee616d2806fbcd409 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 26 Jun 2012 13:21:24 -0400
Subject: [PATCH] Style fix.

---
 module/VuFind/src/VuFind/Bootstrap.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/module/VuFind/src/VuFind/Bootstrap.php b/module/VuFind/src/VuFind/Bootstrap.php
index 0c890f140e6..2b5d899111f 100644
--- a/module/VuFind/src/VuFind/Bootstrap.php
+++ b/module/VuFind/src/VuFind/Bootstrap.php
@@ -80,9 +80,10 @@ class Bootstrap
 
         // Attach remaining theme configuration to the dispatch event:
         $config =& $this->config;
-        $events->attach('dispatch', function($event) use ($config) {
+        $callback = function($event) use ($config) {
             $theme = new ThemeInitializer($config, $event);
             $theme->init();
-        });
+        };
+        $events->attach('dispatch', $callback);
     }
 }
\ No newline at end of file
-- 
GitLab