Bug in tiki_articles definition table?

posts: 27 Indonesia

in TW14.2 the field nbreads is defaulted to NULL.

When creating a new article, the read counter keeps always as NULL and shows to use user as:
( Reads) without any number

Running this SQL to change the default to 0

ALTER TABLE `tiki_articles` CHANGE `nbreads` `nbreads` INT(14) NULL DEFAULT '0';

Fixes the problem and after creating a new article the user can see a number of reads and works OK

Probably it could be fixed also by code but not brave enough to fix it.


Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.