Fixed some stupid code thx to Jan Moesen If the type didn't exist it was still used in the code.
Fixed some stupid code thx to Jan Moesen
If the type didn't exist it was still used in the code.

jonasdekeukelaere/forkcms,bartdc/forkcms,jacob-v-dam/forkcms,jeroendesloovere/forkcms,matthiasmullie/forkcms,riadvice/forkcms,nosnickid/forkcms,jonasgoderis/jonaz,forkcms/forkcms,sumocoders/forkcms,justcarakas/forkcms,DegradationOfMankind/forkcms,Katrienvh/forkcms,ikoene/forkcms,lowiebenoot/forkcms,lowiebenoot/forkcms,riadvice/forkcms,carakas/forkcms,vytsci/forkcms,Saxithon/gh-pages,gertjanmeire/davy_portfolio,sumocoders/forkcms,wengyulin/forkcms,mathiashelin/forkcms,ocpyosep78/forkcms,carakas/forkcms,forkcms/forkcms,DegradationOfMankind/forkcms,DegradationOfMankind/forkcms,vytenizs/forkcms,WouterSioen/forkcms,jonasdekeukelaere/forkcms,sumocoders/forkcms,tommyvdv/forkcms,carakas/forkcms,jonasgoderis/jonaz,Thijzer/forkcms,Katrienvh/forkcms,bartdc/forkcms,nosnickid/forkcms,ikoene/forkcms,tommyvdv/forkcms,justcarakas/forkcms,matthiasmullie/forkcms,vytenizs/forkcms,riadvice/forkcms,jacob-v-dam/forkcms,Thijzer/forkcms,Saxithon/gh-pages,mathiashelin/forkcms,jeroendesloovere/forkcms,tommyvdv/forkcms,dmoerman/forkcms,vytenizs/forkcms,jeroendesloovere/forkcms,nosnickid/forkcms,carakas/forkcms,forkcms/forkcms,jessedobbelaere/forkcms,jacob-v-dam/forkcms,jessedobbelaere/forkcms,dmoerman/forkcms,matthiasmullie/forkcms,riadvice/forkcms,jonasgoderis/jonaz,mathiashelin/forkcms,jessedobbelaere/forkcms,Thijzer/forkcms,vytsci/forkcms,dmoerman/forkcms,sumocoders/forkcms,forkcms/forkcms,jonasdekeukelaere/forkcms,Katrienvh/forkcms,justcarakas/forkcms,ikoene/forkcms,Katrienvh/forkcms,jeroendesloovere/forkcms,tommyvdv/forkcms,bartdc/forkcms,jonasgoderis/jonaz,mathiashelin/forkcms,jonasdekeukelaere/forkcms,DegradationOfMankind/forkcms,WouterSioen/forkcms,gertjanmeire/davy_portfolio,wengyulin/forkcms,sumocoders/forkcms,vytsci/forkcms,jonasdekeukelaere/forkcms,jessedobbelaere/forkcms,jacob-v-dam/forkcms,ocpyosep78/forkcms,carakas/forkcms,jonasgoderis/jonaz,wengyulin/forkcms