bot_karma is saving blank terms
Morbus Iff - June 26, 2008 - 12:09
| Project: | Bot |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
INSERT INTO `bot_karma` VALUES ('ice cream',1),('morbus',15),('litwol',2),('druplicon',5),('beeradb_',1),('walkah',1),('6',-1),('',-1),('',-2),('',-2),('',-2),('5',-7),('8',-1),('my xpath knowledge is not the best',-1);
Saving blank terms. Gotta trim() and return if ''.

#1
Probably should set a minlength of 2 characters too (to prevent 5++ sorta things).
#2
Done. Less than 3 and more than 15 are ignored.
#3
#4
Regex++
#5
Automatically closed -- issue fixed for two weeks with no activity.