|
8 | 8 | # Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
|
9 | 9 | # 2006, 2007, 2008, 2009, 2010, 2011 Comite Reseau des Universites
|
10 | 10 | # Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016, 2017 GIP RENATER
|
11 |
| -# Copyright 2017, 2018, 2019, 2020 The Sympa Community. See the AUTHORS.md |
12 |
| -# file at the top-level directory of this distribution and at |
| 11 | +# Copyright 2017, 2018, 2019, 2020, 2021 The Sympa Community. See the |
| 12 | +# AUTHORS.md file at the top-level directory of this distribution and at |
13 | 13 | # <https://github.com/sympa-community/sympa.git>.
|
14 | 14 | #
|
15 | 15 | # This program is free software; you can redistribute it and/or modify
|
@@ -6037,7 +6037,8 @@ sub _update_list_db {
|
6037 | 6037 |
|
6038 | 6038 | my $name = $self->{'name'};
|
6039 | 6039 | my $searchkey =
|
6040 |
| - substr( Sympa::Tools::Text::foldcase($self->{'admin'}{'subject'} || ''), 0, 255); |
| 6040 | + Sympa::Tools::Text::clip( |
| 6041 | + Sympa::Tools::Text::foldcase($self->{'admin'}{'subject'} // ''), 255); |
6041 | 6042 | my $status = $self->{'admin'}{'status'};
|
6042 | 6043 | my $robot = $self->{'domain'};
|
6043 | 6044 |
|
|
0 commit comments