Skip to content

Commit 9b130b3

Browse files
committed
Merge branch 'QA'
Signed-off-by: William Desportes <[email protected]>
2 parents a89b074 + 1908224 commit 9b130b3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Stop instanciating an object to check its class name. (#290)
66
* Replace sscanf by equivalent native PHP functions because sscanf can be disabled for security reasons. (#270)
77
* Allow phpunit 9
8+
* Fix for php error when "INSERT INTO x SET a = 1" is "INSERT INTO x SET = 1" (#295)
89

910
## [5.2.0] - 2020-01-07
1011

src/Components/SetOperation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class SetOperation extends Component
3737
* @param string $column Field's name..
3838
* @param string $value new value
3939
*/
40-
public function __construct($column = null, $value = null)
40+
public function __construct($column = '', $value = '')
4141
{
4242
$this->column = $column;
4343
$this->value = $value;

0 commit comments

Comments
 (0)