Project

General

Profile

Actions

Bug #81613

closed

Wrong parameter type in quote function

Added by Henrik Elsner over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-06-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It seems like there is the wrong type for the type-parameter expected in the quote function (Core\Database\Query\Querybuilder).

public function quote($input, string $type = null)

$type in doctrine is actually set as \PDO::PARAM which is an Integer value.

function quote($input, $type=\PDO::PARAM_STR);

This means the type parameter can't be used

Actions

Also available in: Atom PDF