Replaced else { if ()...} with elseif() {}

This commit is contained in:
Marc Philip Scholten 2013-12-17 18:44:37 +01:00
parent 699ac0b0e9
commit b0de383f95

View File

@ -974,11 +974,9 @@ class Net_SSH2
if (extension_loaded('gmp')) { if (extension_loaded('gmp')) {
$ext[] = 'gmp'; $ext[] = 'gmp';
} else { } elseif (extension_loaded('bcmath')) {
if (extension_loaded('bcmath')) {
$ext[] = 'bcmath'; $ext[] = 'bcmath';
} }
}
if (!empty($ext)) { if (!empty($ext)) {
$identifier .= ' (' . implode(', ', $ext) . ')'; $identifier .= ' (' . implode(', ', $ext) . ')';