Skip to content

Commit

Permalink
PHP8 fixes, i must not fear, fear is the mindkiller
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargaj committed Dec 31, 2023
1 parent eea12d3 commit b41c69f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion account.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@ function LoadFromDB()

if ($cats)
{
$s = new BM_Query("awardssuggestions_votes");
$s = new BM_Query();
$s->AddTable("awardssuggestions_votes");
$s->AddField("awardssuggestions_votes.categoryID");
$s->AddWhere(sprintf("userID = %d and categoryID in (%s)",$currentUser->id,implode(",",$cats)));
$s->Attach(array("awardssuggestions_votes"=>"prodID"),array("prods as prod"=>"id"));
Expand Down

0 comments on commit b41c69f

Please sign in to comment.