Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ensure authorization service is loaded

  • Loading branch information...
commit 5dd21a27cf06d05e975c8a6f1149692cb242769a 1 parent 30028ce
@bergie authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  injector.php
View
3  injector.php
@@ -15,6 +15,9 @@ class midgardmvc_ui_create_injector
{
public function inject_process(midgardmvc_core_request $request)
{
+ // Ensure authorization service is loaded
+ midgardmvc_core::get_instance()->authorization;
+
// Register URL handlers
$request->add_component_to_chain(midgardmvc_core::get_instance()->component->get('midgardmvc_ui_create'));
if (midgardmvc_core::get_instance()->context->get_current_context() != 0)
Please sign in to comment.
Something went wrong with that request. Please try again.