less ugly minkels double space workaround

git-svn-id: http://www.observium.org/svn/observer/trunk@1262 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-06-24 16:38:30 +00:00
parent 1ceebb83e8
commit 8cadc3da9b
+1 -3
View File
@@ -1,8 +1,6 @@
<?php
$hardware = trim(snmp_get($device, "1.3.6.1.4.1.3854.1.1.6.0", "-OQv", "", ""),'"');
$hardware .= ' ' . trim(snmp_get($device, "1.3.6.1.4.1.3854.1.1.8.0", "-OQv", "", ""),'"');
$hardware = str_replace(' ',' ',$hardware);
$hardware .= ' ' . trim(snmp_get($device, "1.3.6.1.4.1.3854.1.1.8.0", "-OQv", "", ""),'" ');
?>