Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
Dwoo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Common
Dwoo
Commits
b52f9022
Commit
b52f9022
authored
Jan 24, 2010
by
seldaek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a compilation bug when using a PluginProxy with highly nested calls
git-svn-id:
http://svn.dwoo.org/trunk@330
0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent
b159408a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG
CHANGELOG
+1
-0
Compiler.php
lib/Dwoo/Compiler.php
+2
-2
No files found.
CHANGELOG
View file @
b52f9022
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
* Fixed a bug when accessing global vars from a sub-template
* Fixed a bug when accessing global vars from a sub-template
* Fixed a couple bugs in the {dynamic} plugin with regard to using plugins
* Fixed a couple bugs in the {dynamic} plugin with regard to using plugins
within a dynamic block
within a dynamic block
* Fixed a compilation bug when using a PluginProxy with highly nested calls
* Fixed a {load_templates} bug, plugins used in external templates were not
* Fixed a {load_templates} bug, plugins used in external templates were not
loaded correctly, same for custom user plugins
loaded correctly, same for custom user plugins
* Cached templates now check the source template for modification before
* Cached templates now check the source template for modification before
...
...
lib/Dwoo/Compiler.php
View file @
b52f9022
...
@@ -1532,8 +1532,8 @@ class Dwoo_Compiler implements Dwoo_ICompiler
...
@@ -1532,8 +1532,8 @@ class Dwoo_Compiler implements Dwoo_ICompiler
if
(
is_array
(
$parsingParams
))
{
if
(
is_array
(
$parsingParams
))
{
$output
=
$this
->
parseMethodCall
(
$out
[
count
(
$out
)
-
1
][
1
],
$match
[
0
],
$curBlock
,
$ptr
);
$output
=
$this
->
parseMethodCall
(
$out
[
count
(
$out
)
-
1
][
1
],
$match
[
0
],
$curBlock
,
$ptr
);
$out
[
count
(
$out
)
-
1
][
0
]
.=
substr
(
$match
[
0
],
0
,
$ptr
)
;
$out
[
count
(
$out
)
-
1
][
0
]
=
$output
;
$out
[
count
(
$out
)
-
1
][
1
]
.=
$output
;
$out
[
count
(
$out
)
-
1
][
1
]
.=
substr
(
$match
[
0
],
0
,
$ptr
)
;
}
else
{
}
else
{
$out
=
$this
->
parseMethodCall
(
$out
,
$match
[
0
],
$curBlock
,
$ptr
);
$out
=
$this
->
parseMethodCall
(
$out
,
$match
[
0
],
$curBlock
,
$ptr
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment