mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-11 08:28:01 +00:00
fix(ui): prevent UI to search for users with empty string
This commit is contained in:
@@ -462,7 +462,9 @@
|
||||
|
||||
- (int) searchMinimumWordLength
|
||||
{
|
||||
return [self integerForKey: @"SOGoSearchMinimumWordLength"];
|
||||
int min = [self integerForKey: @"SOGoSearchMinimumWordLength"];
|
||||
if(min<1) min=1;
|
||||
return min;
|
||||
}
|
||||
|
||||
- (BOOL) notifyOnPersonalModifications
|
||||
|
||||
Reference in New Issue
Block a user