From e1c2fc734a5431b8d9d1b3810a75d1a55658938c Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Thu, 10 Jun 2010 22:24:36 +0000 Subject: [PATCH] fix typo in discovery git-svn-id: http://www.observium.org/svn/observer/trunk@1140 61d68cd4-352d-0410-923a-c4978735b2b8 --- discovery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery.php b/discovery.php index 6a2aa1768..05f291b2c 100755 --- a/discovery.php +++ b/discovery.php @@ -139,7 +139,7 @@ while ($device = mysql_fetch_array($device_query)) $device['type'] = 'printer'; break; case "linux": - if (preg_match("/-server$/", $device['version']) { $device['type'] = 'server'; } + if (preg_match("/-server$/", $device['version'])) { $device['type'] = 'server'; } break; case "apc": case "mgeups":