| @@ 68-74 (lines=7) @@ | ||
| 65 | $link = $this->getLink(); |
|
| 66 | ||
| 67 | // Replace placeholders |
|
| 68 | if (strpos($this->getLink(), self::ROW_ID_PLACEHOLDER) !== false) { |
|
| 69 | $id = ''; |
|
| 70 | if (isset($row['idConcated'])) { |
|
| 71 | $id = $row['idConcated']; |
|
| 72 | } |
|
| 73 | $link = str_replace(self::ROW_ID_PLACEHOLDER, $id, $link); |
|
| 74 | } |
|
| 75 | ||
| 76 | foreach ($this->getLinkColumnPlaceholders() as $col) { |
|
| 77 | $link = str_replace(':'.$col->getUniqueId().':', $row[$col->getUniqueId()], $link); |
|
| @@ 199-205 (lines=7) @@ | ||
| 196 | } |
|
| 197 | ||
| 198 | // Replace placeholders |
|
| 199 | if (strpos($link, self::ROW_ID_PLACEHOLDER) !== false) { |
|
| 200 | $id = ''; |
|
| 201 | if (isset($row['idConcated'])) { |
|
| 202 | $id = $row['idConcated']; |
|
| 203 | } |
|
| 204 | $link = str_replace(self::ROW_ID_PLACEHOLDER, rawurlencode($id), $link); |
|
| 205 | } |
|
| 206 | ||
| 207 | foreach ($this->getLinkColumnPlaceholders() as $col) { |
|
| 208 | $link = str_replace(':'.$col->getUniqueId().':', rawurlencode($row[$col->getUniqueId()]), $link); |
|