Hmmpp.. it's very unlikely to set variable on if statement. And I think $adminTheme variable should be set on before on that line.