Hoffi
Well-known member
I encountered a strange issue this weekend.
Via Listener I added a new row in the Post table.
With some updater all went fine, until i reduced the counter until it was 0.
I wans't able to set this field to 0.
XenForo delivered the error:
After changing the field to INT, all works fine.
Via Listener I added a new row in the Post table.
PHP:
$structure->columns['my_counter'] = ['type' => Entity::UINT, 'default' => 0 ];
With some updater all went fine, until i reduced the counter until it was 0.
I wans't able to set this field to 0.
XenForo delivered the error:
Please enter a number that is at least 0
After changing the field to INT, all works fine.