From 6d19d69d2095466eb3bcf12f2264c59ed716c3c9 Mon Sep 17 00:00:00 2001 From: slawkens Date: Mon, 5 Jul 2021 17:15:48 +0200 Subject: [PATCH] Fix some undefined notice --- system/libs/pot/OTS_Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/libs/pot/OTS_Account.php b/system/libs/pot/OTS_Account.php index 785dab3a..c0d46dec 100644 --- a/system/libs/pot/OTS_Account.php +++ b/system/libs/pot/OTS_Account.php @@ -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) {