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

@@ -200,3 +200,10 @@
messages in the logs.
- 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.

0
README.md Normal file
View File

View File

@@ -69,7 +69,7 @@ CREATE TABLE `configs` (
LOCK TABLES `configs` WRITE;
/*!40000 ALTER TABLE `configs` DISABLE KEYS */;
INSERT INTO `configs` VALUES
(1,'ol_version','5.2.4'),
(1,'ol_version','5.2.4.1'),
(2,'log_name','OpenLog'),
(3,'banner','1'),
(4,'background_color','#003333'),

View File

@@ -30,3 +30,8 @@ UPDATE configs SET confvalue="5.2.3" WHERE confname="ol_version";
-- Update version number
UPDATE configs SET confvalue="5.2.4" WHERE confname="ol_version";
-- --------------------------------------
-- ---------- version 5.2.4.1 -------------
-- Update version number
UPDATE configs SET confvalue="5.2.4.1" WHERE confname="ol_version";
-- --------------------------------------

View File

@@ -2,18 +2,22 @@
install_path=$1
# ---------- version 5.2.1 -------------
# ---------- version 5.2.1 --------------
# No changes to the db.php file
# ---------------------------------------
# ---------- version 5.2.2 -------------
# ---------- version 5.2.2 --------------
# No changes to the db.php file
# ---------------------------------------
# ---------- version 5.2.3 -------------
# ---------- version 5.2.3 --------------
# No changes to the db.php file
# ---------------------------------------
# ---------- version 5.2.4 -------------
# ---------- version 5.2.4 --------------
# No changes to the db.php file
# ---------------------------------------
# ---------- version 5.2.4.1 ------------
# No changes to the db.php file
# ---------------------------------------

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;";

View File

@@ -8,7 +8,7 @@
APP_NAME="OpenLog"
DEFAULT_DB_NAME="openlog"
APP_VERSION="5.2.4"
APP_VERSION="5.2.4.1"
DOC_ROOT="/var/www"
INSTALL_LOC="openlog"
APACHE_USER="www-data"