diff --git a/src/Kint_TwigExtension.php b/src/Kint_TwigExtension.php index e27e74c..fff2ef1 100644 --- a/src/Kint_TwigExtension.php +++ b/src/Kint_TwigExtension.php @@ -46,6 +46,8 @@ public function dump($mode, Twig_Environment $env, array $context, array $args = Kint::$enabled_mode = $mode; Kint::$return = true; Kint::$display_called_from = false; + $apstash = Kint_Renderer_Rich::$access_paths; + Kint_Renderer_Rich::$access_paths = false; if ($args) { $out = call_user_func_array(array('Kint', 'dump'), $args); @@ -54,6 +56,7 @@ public function dump($mode, Twig_Environment $env, array $context, array $args = } Kint::settings($stash); + Kint_Renderer_Rich::$access_paths = $apstash; return $out; }