From 3d00ecc5b0e455c5528c995794b223e1d3dcefb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B9=BF=E6=98=8E?= Date: Mon, 8 Nov 2021 15:48:58 +0800 Subject: [PATCH] * Fix an error. --- module/execution/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/execution/control.php b/module/execution/control.php index ae716858cd..460d390d38 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1881,6 +1881,7 @@ class execution extends control $avatarPairs = $this->dao->select('account, avatar')->from(TABLE_USER)->where('deleted')->eq(0)->fetchPairs(); foreach($avatarPairs as $account => $avatar) { + if(!$avatar) continue; $userList[$account]['avatar'] = $avatar; }