mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
SQL Block with parameters were always displayed as table, whatever their type...
SVN:trunk[1829]
This commit is contained in:
@@ -182,13 +182,13 @@ class SqlBlock
|
||||
|
||||
if (isset($oParamData->type))
|
||||
{
|
||||
$sType = $oParamData->type;
|
||||
$sParamType = $oParamData->type;
|
||||
}
|
||||
else
|
||||
{
|
||||
$sType = 'context';
|
||||
$sParamType = 'context';
|
||||
}
|
||||
$aParams[$sName] = array('mapping' => $sMapping, 'type' => $sType);
|
||||
$aParams[$sName] = array('mapping' => $sMapping, 'type' => $sParamType);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user