bad string compare in Status_network

This commit is contained in:
Evan Prodromou 2009-06-28 14:48:19 -04:00
parent d4f1637f8a
commit 166e4a4b58

View File

@ -135,7 +135,7 @@ class Status_network extends DB_DataObject
if (empty($sn)) {
// Try for a no-www address
if (strncasecmp($servername, 'www.', 4)) {
if (0 == strncasecmp($servername, 'www.', 4)) {
$sn = self::memGet('hostname', strtolower(substr($servername, 4)));
}
}