Commit ed9869f1 authored by Paul Wise's avatar Paul Wise Committed by Aurelien Jarno
Browse files

Allow the raw parameter to fetch.php to be 0

This makes the chosen value more explicit in the URL.

This allows future commits adding raw=0 links to work.
parent c29ca3bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -395,7 +395,7 @@ function sanitize_params() {
      }
      break;
    case "raw":
      array_push($result, array_key_exists("raw", $_GET));
      array_push($result, safe_get($_GET, $param, 0)  == 1);
      break;
    case "state":
      $tmp = ucwords(safe_get($_GET, $param));