We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit fb779346 authored by Mike Sheldon's avatar Mike Sheldon

Fix typo in playlist generation

parent 522518a8
......@@ -33,9 +33,9 @@ if(!isset($_GET['sk']) || !isset($_GET['desktop'])) {
$session = $_GET['sk'];
$res = $adodb->GetRow('SELECT username, url FROM Radio_Sessions WHERE session = ' . $adodb->qstr($session));
$row = $adodb->GetRow('SELECT username, url FROM Radio_Sessions WHERE session = ' . $adodb->qstr($session));
if(!$res) {
if(!$row) {
die("BADSESSION\n"); // this should return a blank dummy playlist instead
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment