mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
DBSearch: Fix serialization rework (missing internal parameters)
This commit is contained in:
@@ -246,10 +246,12 @@ abstract class DBSearch
|
||||
*/
|
||||
abstract public function ApplyParameters($aArgs);
|
||||
|
||||
public function serialize($bDevelopParams = false, $aContextParams = null)
|
||||
public function serialize($bDevelopParams = false, $aContextParams = array())
|
||||
{
|
||||
$aQueryParams = $this->GetQueryParams();
|
||||
|
||||
$aContextParams = array_merge($this->GetInternalParams(), $aContextParams);
|
||||
|
||||
foreach($aQueryParams as $sParam => $sValue)
|
||||
{
|
||||
if (isset($aContextParams[$sParam]))
|
||||
|
||||
Reference in New Issue
Block a user