We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160d96d commit 1466c4aCopy full SHA for 1466c4a
CHANGELOG.md
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9
10
### Fixed
11
12
+- Fix user fields nullability to prevent SQL errors during injection
13
- Remove groups as import link field
14
- Fix `clean` function
15
inc/userinjection.class.php
@@ -55,7 +55,14 @@ public function connectedTo()
55
56
public function isNullable($field)
57
{
58
- return true; // By default, all fields can be null
+ return in_array($field, [
59
+ 'begin_date',
60
+ 'date_sync',
61
+ 'end_date',
62
+ 'last_login',
63
+ 'substitution_end_date',
64
+ 'substitution_start_date',
65
+ ]);
66
}
67
68
0 commit comments