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

Commit 666a6fe2 authored by clint's avatar clint

workaround for zomg versions prior to 0.5.6 sending too many NULs

parent adaffaf4
......@@ -80,7 +80,7 @@ for($i = 0; $i < count($_POST['a']); $i++) {
$time = strtotime($_POST['i'][$i]);
}
if(isset($_POST['m'][$i])) {
$mbid = $mdb2->quote($_POST['m'][$i], "text");
$mbid = $mdb2->quote(rtrim($_POST['m'][$i]), "text");
} else {
$mbid = 'NULL';
}
......
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