@@ -151,7 +151,7 @@ |
||
| 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) { |
@@ -177,7 +177,8 @@ |
||
| 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 | |