Fix strict error with 2.6 code.

This commit is contained in:
mark_story 2015-01-19 21:43:14 -05:00
parent 3078a1eb52
commit 511ee1f776

View file

@ -798,8 +798,8 @@ class Mysql extends DboSource {
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public function value($data, $column = null) { public function value($data, $column = null, $null = true) {
$value = parent::value($data, $column); $value = parent::value($data, $column, $null);
if (is_numeric($value) && substr($column, 0, 3) === 'set') { if (is_numeric($value) && substr($column, 0, 3) === 'set') {
return $this->_connection->quote($value); return $this->_connection->quote($value);
} }