We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in modules/ModuleDlstatsStatistics.php, line 143
With booleans, only strict comparison (with === operator) should be used to lower bug risks and to improve performances.
===
* @return string */ protected function getStatusCounting() { if ( isset($GLOBALS['TL_CONFIG']['dlstats']) && $GLOBALS['TL_CONFIG']['dlstats'] == true ) { return '<span class="tl_green">'.$GLOBALS['TL_LANG']['tl_dlstatstatistics_stat']['status_activated'].'</span>'; } return '<span class="tl_red">'.$GLOBALS['TL_LANG']['tl_dlstatstatistics_stat']['status_deactivated'].'</span>';
Posted from SensioLabsInsight
The text was updated successfully, but these errors were encountered:
Fixed #66,#67,#68,#69,#70 - Boolean should be compared strictly
df57748
BugBuster1701
No branches or pull requests
in modules/ModuleDlstatsStatistics.php, line 143
Posted from SensioLabsInsight
The text was updated successfully, but these errors were encountered: