Format sort headings.
authorCMDR furrycat <elite@furrycat.net>
Sun, 7 Feb 2016 14:12:22 +0000 (09:12 -0500)
committerCMDR furrycat <elite@furrycat.net>
Sun, 7 Feb 2016 14:12:22 +0000 (09:12 -0500)
lib/race.php

index b1abdb6..8abe313 100644 (file)
       /* Sort options. */
       $uri_list = array();
       foreach (array_keys($methods) as $method) {
-        $Method = ucfirst($method);
+        $Method = preg_replace('/_/', ' ', ucfirst($method));
         if ($method == $sort) $uri = " $Method";
         else {
           $uri = preg_replace('/&args=[^&]+/', '', $_SERVER['REQUEST_URI']);