Skip to content

Commit

Permalink
Accomodate php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlaltca committed Nov 28, 2023
1 parent eb8ea39 commit 85b7fdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion framework/Data/Common/Mssql/TMssqlCommandBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ protected function findOrdering($sql)
if (count($subs) > 1 && count($subs[2]) > 0) {
$ordering[$subs[1][0]] = $subs[2][0];
}
//else what?
//else what?
} else {
$ordering[trim($part)] = 'ASC';
}
Expand Down
7 changes: 3 additions & 4 deletions framework/Web/UI/WebControls/TReCaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,11 @@ public function getClientSideOptions()

public function validate()
{
if (!
(
($challenge = @$_POST[$this->getChallengeFieldName()])
if (!(
($challenge = @$_POST[$this->getChallengeFieldName()])
and
($response = @$_POST[$this->getResponseFieldName()])
)
)
) {
return false;
}
Expand Down

0 comments on commit 85b7fdf

Please sign in to comment.