Actions
Bug #17558
closedcan not remove stopwords
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2007-08-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The feature to add stopwords via the info module works fine but once a stopword is set, one can not remove it.
This is due to the use of checkboxes in the back-end.
In fact checkboxes only send a value to the server when checked, and indeed when you uncheck a stopword to remove it form the list nothing is sent to the server, and thereofre the t3lib_div::_POST('stopWord') array does not contain those empty value.
Firthermore, there is a bug in the PHP when no checkbox is clicked since you try to loop through an empty array (a is_array() test should be useful on this) ;-)
(issue imported from #M6203)
Actions