goFrendiAsgard / No-CMS

No-CMS, A CodeIgniter Based CMS Framework
299 stars 199 forks source link

Incorrect column name 'product_type ' #151

Open witwall opened 8 years ago

witwall commented 8 years ago

because of typo, I included a blank in my column product_type, when create module, I got a error,

Incorrect column name 'product_type '

I think we can trim it before save the column name to table, right?

goFrendiAsgard commented 8 years ago

For now, go to your_module/controllers/Info.php and fix it (The table and column definitions are located at $TABLES variable)