Development > Bugs

Shoutbox messages counter is not unsigned.

(1/2) > >>

Rupurudu!:
Maximum allowed shouts (num_max) and Current shoutbox messages (num_shouts) on the smf_sp_shoutboxes table are not set to Unsigned.

Since these values will never be negative, I think making them will both help people who want to set a highier maximum messages, and will help avoiding errors incase if some stupid error who tries to make them negative

[SiNaN]:
I think we never bothered with this because we never hit that limit and SMF's handling of that property was not stable. Thank you for the report. This should be set properly for all relevant fields in the next version.

[SiNaN]:
The fix for this has been committed.

♦ Ninja ZX-10RR ♦:

--- Quote from: [SiNaN] on August 08, 2015, 10:07:13 AM ---The fix for this has been committed.

--- End quote ---
Got any links? My update will be a pain, it's better if I get rid of all the small things ;)

[SiNaN]:
The changes are in the GitHub repo. However, it will only affect the new installations. I haven't coded the database upgrade script yet. That's the last thing I'm going to do.

Navigation

[0] Message Index

[#] Next page

Go to full version