Skip to content

Commit ffc0f94

Browse files
committed
strict type comparison
1 parent d63f18d commit ffc0f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class/Common/ServerStats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static function getServerStats()
4949
$gdlib = \function_exists('gd_info') ? '<span style="color: #008000;">' . \constant('CO_' . $moduleDirNameUpper . '_GDON') . '</span>' : '<span style="color: #ff0000;">' . \constant('CO_' . $moduleDirNameUpper . '_GDOFF') . '</span>';
5050
$html .= '<li>' . \constant('CO_' . $moduleDirNameUpper . '_GDLIBSTATUS') . $gdlib;
5151
if (\function_exists('gd_info')) {
52-
if (true === ($gdlib = gd_info())) {
52+
if (true == ($gdlib = gd_info())) {
5353
$html .= '<li>' . \constant('CO_' . $moduleDirNameUpper . '_GDLIBVERSION') . '<b>' . $gdlib['GD Version'] . '</b>';
5454
}
5555
}

0 commit comments

Comments
 (0)