goFrendiAsgard/No-CMS

Incorrect column name 'product_type '

witwall opened this issue · 1 comments

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?

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