Skip to content

Commit

Permalink
N°2589 - Infinite loops when logging with a Contact having a non empt…
Browse files Browse the repository at this point in the history
…y TagSet field
  • Loading branch information
accognet committed Jun 24, 2020
1 parent 68fe3f0 commit 311aeb0
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions core/oql/expression.class.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2180,7 +2180,7 @@ public function ListConstantFields()

public function ListParameters()
{
return array();
return $this->m_oNestedQuery->ListParameters();
}

public function RenameParam($sOldName, $sNewName)
Expand Down Expand Up @@ -2332,7 +2332,13 @@ public function ListConstantFields()

public function ListParameters()
{
return array();

$aRes = array();
foreach ($this->m_aArgs as $oExpr)
{
$aRes = array_merge($aRes, $oExpr->ListParameters());
}
return $aRes;
}

public function RenameParam($sOldName, $sNewName)
Expand Down Expand Up @@ -2769,7 +2775,12 @@ public function ListConstantFields()

public function ListParameters()
{
return array();
$aRes = array();
foreach ($this->m_aExpressions as $oExpr)
{
$aRes = array_merge($aRes, $oExpr->ListParameters());
}
return $aRes;
}

public function RenameParam($sOldName, $sNewName)
Expand Down

0 comments on commit 311aeb0

Please sign in to comment.