Skip to content

Commit

Permalink
RunQuery returns mysqli_result, not associative array
Browse files Browse the repository at this point in the history
  • Loading branch information
DAcodedBEAT committed Dec 13, 2023
1 parent 01925f3 commit 0f16d5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PledgeEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,8 @@
$rsFam = RunQuery($sSQL);
$numRows = mysqli_num_rows($rsFam);
if ($numRows) {
$iFamily = $rsFam['fam_ID'];
$aRow = mysqli_fetch_array($rsDeposit);
$iFamily = $aRow['fam_ID'];
}
}
} else {
Expand Down

0 comments on commit 0f16d5d

Please sign in to comment.