Skip to content

Commit

Permalink
Fix indicated in conversation for #143.
Browse files Browse the repository at this point in the history
  • Loading branch information
jteresco committed Jan 22, 2017
1 parent 27b55fa commit 0e72d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shields/shieldgen.php
Expand Up @@ -108,10 +108,10 @@ function generate($r, $force_reload = false)
$routeNum = str_replace("B", "", $row['route']);
$routeNum = str_replace("H", "", $routeNum);
$routeNum = str_replace("L", "", $routeNum);
$svg = str_replace("***NUMBER***", $routeNum, $svg);
if (strlen($routeNum) > 2) {
$svg = file_get_contents("{$dir}/template_" . $row['systemName'] . "_wide.svg");
}
$svg = str_replace("***NUMBER***", $routeNum, $svg);
break;

case 'eure':
Expand Down

0 comments on commit 0e72d17

Please sign in to comment.