fied stray bracket
fixed merge from said bracket
Now works with Leon's db
Fixed up php after merge went horribly