Fix some undefined notice

This commit is contained in:
slawkens 2021-07-05 17:15:48 +02:00
parent 9ad367370a
commit 6d19d69d20

View File

@ -208,8 +208,8 @@ class OTS_Account extends OTS_Row_DAO implements IteratorAggregate, Countable
}
$numberColumn = 'id';
$nameOrNumber = '';
if (!$searchOnlyById) {
$nameOrNumber = '';
if (USE_ACCOUNT_NAME) {
$nameOrNumber = '`name`,';
} else if (USE_ACCOUNT_NUMBER) {