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

Commit 453f0343 authored by clint's avatar clint

reverse logic

parent 076705a2
......@@ -61,9 +61,9 @@ for($i = 0; $i < count($_POST['a']); $i++) {
}
if (!isset($_POST['t'][$i]) || !isset($_POST['a'][$i]) || !isset($_POST['i'][$i])) {
$f = isset($_POST['t'][$i]) ? 't' : '';
$f .= isset($_POST['a'][$i]) ? 'a' : '';
$f .= isset($_POST['i'][$i]) ? 'i' : '';
$f = isset($_POST['t'][$i]) ? '' : 't';
$f .= isset($_POST['a'][$i]) ? '' : 'a';
$f .= isset($_POST['i'][$i]) ? '' : 'i';
die("FAILED Track $i was submitted with empty mandatory field(s): {$f}\n");
}
......
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