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

Commit 3ca629d6 authored by clint's avatar clint

missing paren

parent 57b3c307
......@@ -212,7 +212,7 @@ $image = $aws_xml->Items->Item->MediumImage->URL;
function validateMBID ($input) {
if(isset($input) {
if(isset($input)) {
$input = strtolower(rtrim($input));
if(preg_match('/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/', $input)) {
return $mdb2->quote($input, "text");
......
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