From 94f66c44bb0401b1c8f4624f12d5db23163db6d0 Mon Sep 17 00:00:00 2001 From: Neil Lathwood Date: Sat, 30 May 2015 03:43:00 +0100 Subject: [PATCH] Revert "Fixed issue when truncating UTF-8 strings." --- html/includes/table/devices.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/table/devices.inc.php b/html/includes/table/devices.inc.php index 83dd18b28..02c2b925e 100644 --- a/html/includes/table/devices.inc.php +++ b/html/includes/table/devices.inc.php @@ -155,7 +155,7 @@ foreach (dbFetchRows($sql, $param) as $device) { $hostname = generate_device_link($device); $platform = $device['hardware'] . '
' . $device['features']; $os = $device['os_text'] . '
' . $device['version']; - $uptime = formatUptime($device['uptime'], 'short') . '
' . mb_substr($device['location'], 0, 32, 'utf8'); + $uptime = formatUptime($device['uptime'], 'short') . '
' . truncate($device['location'],32, ''); if ($subformat == "detail") { $hostname .= '
' . $device['sysName']; if ($port_count) {