Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
formatting
git-svn-id: https://oaklandtransit.svn.beanstalkapp.com/oaklandtransit/trunk@17 deb74cb1-a756-4be6-b8d4-91a7e5b20385
  • Loading branch information
oaklandtransit authored and Jen-Mei Wu committed Jun 6, 2011
1 parent 86d856d commit b000f17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion www/sms/demo/index.php
Expand Up @@ -28,10 +28,13 @@

function formatMsg($data) {
foreach($data as $route => $mins) {
$msg .= 'Line: ' . $route . " in ";
$msg .= 'Line ' . $route . " in ";
foreach($mins as $min) { $msg .= $min."mins "; };
$msg .= " / ";
}

$msg = substr($msg, 0, -2)

return $msg;
}

Expand Down

0 comments on commit b000f17

Please sign in to comment.