From 2c95275ea74d99637bed94755820d4f810ca8e32 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Mon, 14 Jun 2010 13:41:16 +0000 Subject: [PATCH] hardware description fix for dell 5130cdn laser git-svn-id: http://www.observium.org/svn/observer/trunk@1170 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/polling/device-dell-laser.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/polling/device-dell-laser.inc.php b/includes/polling/device-dell-laser.inc.php index 086edc976..034632bdc 100644 --- a/includes/polling/device-dell-laser.inc.php +++ b/includes/polling/device-dell-laser.inc.php @@ -5,4 +5,7 @@ list(,$version) = split('Engine ',$sysDescr); $version = "Engine " . trim($version,')'); + + $hardware = substr($hardware,0,strpos($hardware,';')); + ?>