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
78e0522e
Commit
78e0522e
authored
Oct 01, 2008
by
Seldaek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes block plugins param handling (failed with arrays)
git-svn-id:
svn://dwoo.org/dwoo/trunk@192
0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent
fc07f46e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Plugin.php
lib/Dwoo/Block/Plugin.php
+1
-1
No files found.
lib/Dwoo/Block/Plugin.php
View file @
78e0522e
...
@@ -82,7 +82,7 @@ abstract class Dwoo_Block_Plugin extends Dwoo_Plugin
...
@@ -82,7 +82,7 @@ abstract class Dwoo_Block_Plugin extends Dwoo_Plugin
*/
*/
public
static
function
preProcessing
(
Dwoo_Compiler
$compiler
,
array
$params
,
$prepend
,
$append
,
$type
)
public
static
function
preProcessing
(
Dwoo_Compiler
$compiler
,
array
$params
,
$prepend
,
$append
,
$type
)
{
{
return
Dwoo_Compiler
::
PHP_OPEN
.
$prepend
.
'$this->addStack("'
.
$type
.
'", array('
.
implode
(
', '
,
$compiler
->
getCompiledParams
(
$params
))
.
'));'
.
$append
.
Dwoo_Compiler
::
PHP_CLOSE
;
return
Dwoo_Compiler
::
PHP_OPEN
.
$prepend
.
'$this->addStack("'
.
$type
.
'", array('
.
Dwoo_Compiler
::
implode_r
(
$compiler
->
getCompiledParams
(
$params
))
.
'));'
.
$append
.
Dwoo_Compiler
::
PHP_CLOSE
;
}
}
/**
/**
...
...
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