josht / faqMan

FAQ Manager is an Extra for MODx Revolution that helps you manage your FAQs from within the Revo backend.
GNU General Public License v2.0
12 stars 9 forks source link

'Description' contents is converted to number #39

Closed Maef closed 5 years ago

Maef commented 5 years ago

We have this odd issue since upgrading to PHP7.2 (from 7.0)

'Update FAQ Set' on an entry sets the content to '0' after a save. When you enter a number it is correctly stored.

Our setup:

MODX Revolution 2.6.5-pl (traditional) Database: 10.2.18-MariaDB Database charset: utf8 PHP Version 7.2.10

Maef commented 5 years ago

Thx Josh!

Shouldn't the phptype of 'question' also be 'string' (in stead of 'text')? /core/components/faqman/model/faqman/mysql/faqmanitem.map.inc.php

josht commented 5 years ago

Yep, thanks, I missed that.

josht commented 5 years ago

Fixed in v1.3.0