Re: 2 csets were pushed to core/stable: Merge [email protected]:/var/bk/xa...
Marcel van der Boom <[email protected]>
| Newsgroups | gmane.comp.cms.xaraya.bk-notices |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
John Cox wrote:
> Odd, it works fine here. The last param is for the extrainfo, just like
> with the waiting content block... What kind of error do you get?
It barks about array to string conversion in xarMod.php ,
If i put the lines in the changes next to the definition of
xarModCallHooks:
$vars['html_content'] = xarModCallHooks(
'item',
'transform',
$blockinfo['bid'],
$vars['html_content'],
'base',
array('module' => 'base')
);
function xarModCallHooks(
$hookObject,
$hookAction,
$hookId,
$extraInfo,
$callerModName = NULL,
$callerItemType = ''
)
the array('module' => 'base') for callerItemType goes into:
$hooklist = xarModGetHookList($modName, $hookObject, $hookAction,
$callerItemType);
as last parameeter which on the line in that function where it says:
$bindvars[] = (string)$callerItemType;
produces the error.