| @@ 1066-1079 (lines=14) @@ | ||
| 1063 | ) |
|
| 1064 | ); |
|
| 1065 | ||
| 1066 | if ($id !== null) { |
|
| 1067 | $query->where( |
|
| 1068 | $query->expr->lAnd( |
|
| 1069 | $query->expr->eq( |
|
| 1070 | $this->dbHandler->quoteColumn('is_alias'), |
|
| 1071 | $query->bindValue(0, null, \PDO::PARAM_INT) |
|
| 1072 | ), |
|
| 1073 | $query->expr->eq( |
|
| 1074 | $this->dbHandler->quoteColumn('id'), |
|
| 1075 | $query->bindValue($id, null, \PDO::PARAM_INT) |
|
| 1076 | ) |
|
| 1077 | ) |
|
| 1078 | ); |
|
| 1079 | } |
|
| 1080 | ||
| 1081 | $query->prepare()->execute(); |
|
| 1082 | } |
|
| @@ 1414-1427 (lines=14) @@ | ||
| 1411 | ) |
|
| 1412 | ) |
|
| 1413 | ); |
|
| 1414 | } else { |
|
| 1415 | $query->where( |
|
| 1416 | $query->expr->lOr( |
|
| 1417 | $query->expr->eq( |
|
| 1418 | $this->dbHandler->quoteColumn('from_contentobject_id'), |
|
| 1419 | $query->bindValue($contentId, null, \PDO::PARAM_INT) |
|
| 1420 | ), |
|
| 1421 | $query->expr->eq( |
|
| 1422 | $this->dbHandler->quoteColumn('to_contentobject_id'), |
|
| 1423 | $query->bindValue($contentId, null, \PDO::PARAM_INT) |
|
| 1424 | ) |
|
| 1425 | ) |
|
| 1426 | ); |
|
| 1427 | } |
|
| 1428 | ||
| 1429 | $query->prepare()->execute(); |
|
| 1430 | } |
|