db structure add table user_ban_logs

This commit is contained in:
xiaomlove
2021-05-14 00:31:37 +08:00
parent 89c2a05d50
commit 12b370f2e8
4 changed files with 42 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ class ADVERTISEMENT{
return false;
else
{
if ($this->userrow['noad'] == 'yes')
if ($this->userrow && $this->userrow['noad'] == 'yes')
return false;
else
return true;