We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b0942 commit 7b370f5Copy full SHA for 7b370f5
index.php
@@ -75,8 +75,8 @@
75
$isSparkle = isset($_GET['sparkle']) ? true : false;
76
$isFileProvider = isset($_GET['fileprovider']) ? true : false;
77
// due to a bug in an old version, the channels were translated. we need to catch them again
78
-$channel = isset($_GET['channel']) && in_array($_GET['channel'], $allowedChannels, true)
79
- ? $_GET['channel']
+$channel = isset($_GET['channel']) && in_array((string)$_GET['channel'], $allowedChannels, true)
+ ? (string)$_GET['channel']
80
: 'stable';
81
82
$osRelease = isset($_GET['osRelease']) ? (string)$_GET['osRelease'] : '';
0 commit comments