Skip to content

Commit

Permalink
fix empty use
Browse files Browse the repository at this point in the history
  • Loading branch information
steinkel committed Mar 11, 2016
1 parent f3c0328 commit 8162ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/SecurityComponent.php
Expand Up @@ -476,7 +476,7 @@ protected function _debugPostTokenNotMatching(Controller $controller, $hashParts
);
$expectedUnlockedFields = Hash::get($expectedParts, 2);
$dataUnlockedFields = Hash::get($hashParts, 2) ?: [];
if (!empty($dataUnlockedFields)) {
if ($dataUnlockedFields) {
$dataUnlockedFields = explode('|', $dataUnlockedFields);
}
$unlockFieldsMessages = $this->_debugCheckFields(
Expand Down

0 comments on commit 8162ba0

Please sign in to comment.