fix to M2

This commit is contained in:
Martin Schütte 2014-04-28 22:45:19 +02:00
parent 7ff07b6c57
commit 07b1f9c3af

View file

@ -84,7 +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('-m', ' M2', $hw);
$hw = str_replace('-', ' ', $hw);
$hw = ucwords($hw);
}