From b78d7a931e758d7a1b0f3dee35e0bd7cb601df29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sch=C3=BCtte?= Date: Fri, 11 Apr 2014 22:39:21 +0200 Subject: [PATCH] workaround: "ubiquity ... m" devices are actually "ubiquity ... m1" --- freifunk-versions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/freifunk-versions.php b/freifunk-versions.php index cb9c6b2..43be812 100644 --- a/freifunk-versions.php +++ b/freifunk-versions.php @@ -84,6 +84,7 @@ function ff_hh_shortcode_versions( $atts, $content, $name ) { $hw = str_replace('-', ' ', $hw); $hw = str_replace('TP LINK TL ', 'TP-Link TL-', $hw); } elseif (!strncmp($hw, 'ubiquiti', 8)) { + $hw = str_replace('-m', ' M1', $hw); $hw = str_replace('-', ' ', $hw); $hw = ucwords($hw); }