Incorporate changes made for old version 5.2.4.1

This commit is contained in:
2026-02-10 15:01:05 -05:00
parent 45b432fb72
commit 3a0cf99432
8 changed files with 33 additions and 9 deletions

View File

@@ -201,3 +201,9 @@
- In the install.sh script, removed the prompts for optional package
installation. Code is still there, just turned off by default.
5.2.4.1 - 2025-12-10
- Fixed bug in search.php where "Print search results" link on the
search results page resulted in the printable page not showing
any results. This was due to a php fatal error caused by passing
a non-array as the second argument of the php in_array()
function.

View File

@@ -589,9 +589,11 @@ if (!$print) {
$flagsperline=8;
$flagcount=1;
while ($flagcheckbox=mysqli_fetch_assoc($flagslist)) {
if (in_array($flagcheckbox["flagid"],$srchflags)) {
printf("<font color=\"%s\">%s</font>",
$flagcheckbox["flagcolor"],$flagcheckbox["flagsym"]);
if ($srchflags) {
if (in_array($flagcheckbox["flagid"],$srchflags)) {
printf("<font color=\"%s\">%s</font>",
$flagcheckbox["flagcolor"],$flagcheckbox["flagsym"]);
}
}
if ($flagcount<$flagsperline) {
echo "&nbsp;&nbsp;&nbsp;";