Passed
Push — master ( 1fec05...4cfbdd )
by Andreas
16:49
created
lib/midcom/helper/style.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
         // This is a bit of a hack to allow &(); tags
152 152
         $preparsed = midcom_helper_misc::preparse($style);
153 153
         if (midcom_core_context::get()->has_custom_key('request_data')) {
154
-            $data =& midcom_core_context::get()->get_custom_key('request_data');
154
+            $data = & midcom_core_context::get()->get_custom_key('request_data');
155 155
         }
156 156
 
157 157
         if (eval('?>' . $preparsed) === false) {
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,8 @@
 block discarded – undo
177 177
             if ($root_topic->style) {
178 178
                 $db_style = midcom_db_style::id_from_path($root_topic->style);
179 179
             }
180
-        } catch (midcom_error_forbidden $e) {
180
+        }
181
+        catch (midcom_error_forbidden $e) {
181 182
             $e->log();
182 183
         }
183 184
 
Please login to merge, or discard this patch.