Commit bcecd42b authored by mabolek's avatar mabolek
Browse files

[BUGFIX] Added strict type check to condition

parent 553e2a14
Pipeline #6137 passed with stages
in 2 minutes and 17 seconds
......@@ -116,7 +116,7 @@ class UserProfileChangeKarmaIssuer
{
$karmaSourceCode = $this->settings['userProfileChangeKarmaIssuer']['newUserWasCreated']['sourceCode'];
if ($karmaSourceCode == '') {
if ($karmaSourceCode === '') {
throw new \Exception('Empty karma source code supplied. Please configure it in TypoScript.', 1541508560);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment