Skip to content

Commit

Permalink
Merge branch 'dwinkelbauer-patch-1' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryd committed Dec 22, 2017
2 parents 8e900ec + 2c66992 commit 4d1c5f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Classes/Encoder/UrlEncoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,11 @@ protected function validateLanguageParameter($sysLanguageUid) {
addslashes($sysLanguageUid)
);
$this->tsfe->set_no_cache($message);
$this->logger->error($message, debug_backtrace());
$this->logger->error($message);
if (version_compare(TYPO3_version, '7.6.0', '>=')) {
$this->logger->debug($message, debug_backtrace());
}

throw new InvalidLanguageParameterException($sysLanguageUid);
}
}
Expand Down

0 comments on commit 4d1c5f5

Please sign in to comment.