His ruling didn't toss the case based on Sharia Law, he cited lack of evidence as the cause. Passing Oklahoma's amendment would have not done anything in this case.
EDIT: I'm not gonna say whether or not Sharia Law was what he actually was considering for that, just that because he didn't use it as grounds for anything in the trial legally speaking, the amendment would do nothing.
--
MMBN style fighting game made by me in the link below!
http://sandbox.yoyogames.com/games/184947-b8bn