Actually on second thought, having the parameter disappear is
a better option than keeping it around with only one possible
value.
This reverts commit
7a79b017a03c78ddc0b8bf8762346957bef71936.
Change-Id: Ia67fa1425e0aa1ee95e0a1733f89d29f94f1eeee
);
$alternatives = SearchEngine::getSearchTypes();
- if ( count( $alternatives ) > 0 ) {
+ if ( count( $alternatives ) > 1 ) {
if ( $alternatives[0] === null ) {
$alternatives[0] = self::BACKEND_NULL_PARAM;
}