Skip to content

Commit

Permalink
se arreglo bug de superadmin entre instancias
Browse files Browse the repository at this point in the history
  • Loading branch information
asobrado committed May 20, 2016
1 parent 2adfafe commit 4412301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Celsius3/CoreBundle/Aop/InstanceInjectionAspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function matchesMethod(\ReflectionMethod $method)

public function intercept(MethodInvocation $invocation)
{
$invocation->arguments[1]['instance'] = $this->instance_helper->getUrlInstance();
$invocation->arguments[1]['instance'] = $this->instance_helper->getSessionOrUrlInstance();

return $invocation->proceed();
}
Expand Down

0 comments on commit 4412301

Please sign in to comment.