Skip to content

Commit

Permalink
Ensure authorization service is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Apr 11, 2011
1 parent 30028ce commit 5dd21a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions injector.php
Expand Up @@ -15,6 +15,9 @@ class midgardmvc_ui_create_injector
{ {
public function inject_process(midgardmvc_core_request $request) public function inject_process(midgardmvc_core_request $request)
{ {
// Ensure authorization service is loaded
midgardmvc_core::get_instance()->authorization;

// Register URL handlers // Register URL handlers
$request->add_component_to_chain(midgardmvc_core::get_instance()->component->get('midgardmvc_ui_create')); $request->add_component_to_chain(midgardmvc_core::get_instance()->component->get('midgardmvc_ui_create'));
if (midgardmvc_core::get_instance()->context->get_current_context() != 0) if (midgardmvc_core::get_instance()->context->get_current_context() != 0)
Expand Down

0 comments on commit 5dd21a2

Please sign in to comment.