Fixed invalid column / variable names in models/theme.class.php