Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 132384
Collapse All | Expand All

(-)functions_search.php (-2 / +2 lines)
Lines 90-96 Link Here
90
			// stopword check. ask brandy about "xsession
90
			// stopword check. ask brandy about "xsession
91
			// command not found".
91
			// command not found".
92
92
93
			$entry = str_replace(' ' . trim($stopword) . ' ', ' ', $entry);
93
			$entry = str_replace(' ' . trim(strtolower($stopword)) . ' ', ' ', $entry);
94
		}
94
		}
95
	}
95
	}
96
96
Lines 101-107 Link Here
101
			list($replace_synonym, $match_synonym) = split(' ', trim(strtolower($synonym_list[$j])));
101
			list($replace_synonym, $match_synonym) = split(' ', trim(strtolower($synonym_list[$j])));
102
			if ( $mode == 'post' || ( $match_synonym != 'not' && $match_synonym != 'and' && $match_synonym != 'or' ) )
102
			if ( $mode == 'post' || ( $match_synonym != 'not' && $match_synonym != 'and' && $match_synonym != 'or' ) )
103
			{
103
			{
104
				$entry =  str_replace(' ' . trim($match_synonym) . ' ', ' ' . trim($replace_synonym) . ' ', $entry);
104
				$entry = str_replace(' ' . trim(strtolower($match_synonym)) . ' ', ' ' . trim(strtolower($replace_synonym)) . ' ', $entry);
105
			}
105
			}
106
		}
106
		}
107
	}
107
	}

Return to bug 132384