Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7152ebb

Browse filesBrowse files
kriswallsmithfabpot
authored andcommitted
[FrameworkBundle] Fixed getting template helper services not in the container's 'templating.helper' namespace
1 parent fe7e01c commit 7152ebb
Copy full SHA for 7152ebb

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
  • src/Symfony/Bundle/FrameworkBundle/Templating
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Templating/Engine.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Templating/Engine.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function get($name)
9595
}
9696

9797
if (is_string($this->helpers[$name])) {
98-
$this->helpers[$name] = $this->container->get('templating.helper.'.$name);
98+
$this->helpers[$name] = $this->container->get($this->helpers[$name]);
9999
$this->helpers[$name]->setCharset($this->charset);
100100
}
101101

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.