Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\Admin\Templates\ban_msg.tpl #566

Open
pggwka opened this issue Oct 1, 2018 · 0 comments
Open

\Admin\Templates\ban_msg.tpl #566

pggwka opened this issue Oct 1, 2018 · 0 comments

Comments

@pggwka
Copy link

pggwka commented Oct 1, 2018

Next Error
Warning: mysqli_query() expects parameter 1 to be mysqli, array given in C:\OSPanel\domains\DOMEN.RU\Admin\Templates\ban_msg.tpl on line 11

In the next line

$ban = mysqli_query($GLOBALS["link"], "SELECT * FROM ".TB_PREFIX."banlist WHERE uid = '".(int) $session->uid."' and active = 1");

Correction

$ban = mysqli_query($database->dblink, "SELECT * FROM ".TB_PREFIX."banlist WHERE uid = '".(int) $session->uid."' and active = 1");

I apologize for my English.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant