Fix config.php: fetch pqs_pods row before reading pod vars

The pod query result was never fetched, so $pod01..16 (and their $_SESSION
copies) read a stale row - silent on PHP 5, noisy warnings on PHP 8. Add the
missing mysqli_fetch_array. Behavior otherwise unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Cyd
2026-07-01 13:41:23 -05:00
co-authored by Claude Opus 4.8
parent df04ab4eb7
commit b6e6feca32
+1
View File
@@ -12,6 +12,7 @@ while ($line = mysqli_fetch_array($result)) {
}
$query = 'SELECT * FROM pqs_pods';
$result = mysqli_query($link, $query) or die('Query failed: ' . mysqli_error($link));
$line = mysqli_fetch_array($result); // was missing: pod vars below read a stale row
$pod01 = $line[0];
$pod02 = $line[1];
$pod03 = $line[2];