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 29c80ce

Browse filesBrowse files
committed
minor #5568 [Create Framework] Fix extract calls (replaces #5522) (kenjis)
This PR was merged into the 2.3 branch. Discussion ---------- [Create Framework] Fix extract calls (replaces #5522) Commits ------- a9d75c6 Fix code
2 parents d8950b2 + a9d75c6 commit 29c80ce
Copy full SHA for 29c80ce

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎create_framework/templating.rst

Copy file name to clipboardExpand all lines: create_framework/templating.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ rendered::
4141

4242
function render_template($request)
4343
{
44-
extract($request->attributes->all(), EXTR_SKIP);
44+
extract($request->attributes->all());
4545
ob_start();
4646
include sprintf(__DIR__.'/../src/pages/%s.php', $_route);
4747

@@ -110,7 +110,7 @@ Here is the updated and improved version of our framework::
110110

111111
function render_template($request)
112112
{
113-
extract($request->attributes->all(), EXTR_SKIP);
113+
extract($request->attributes->all());
114114
ob_start();
115115
include sprintf(__DIR__.'/../src/pages/%s.php', $_route);
116116

0 commit comments

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