mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix strict error with 2.6 code.
This commit is contained in:
parent
3078a1eb52
commit
511ee1f776
1 changed files with 2 additions and 2 deletions
|
@ -798,8 +798,8 @@ class Mysql extends DboSource {
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function value($data, $column = null) {
|
||||
$value = parent::value($data, $column);
|
||||
public function value($data, $column = null, $null = true) {
|
||||
$value = parent::value($data, $column, $null);
|
||||
if (is_numeric($value) && substr($column, 0, 3) === 'set') {
|
||||
return $this->_connection->quote($value);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue