-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: * Hotfix release for #448
- Loading branch information
Showing
3 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
// parameters.php - Front module. Server side. Manage Parameters | ||
//------------------------------------------------------------------------------ | ||
// Puche 2021 [email protected] GNU GPLv3 | ||
// leiweibau 2024+ https://github.com/leiweibau GNU GPLv3 | ||
// leiweibau 2023+ https://github.com/leiweibau GNU GPLv3 | ||
//------------------------------------------------------------------------------ | ||
|
||
session_start(); | ||
|
@@ -71,8 +71,7 @@ function getParameter() { | |
WHERE par_ID="' . quotes($_REQUEST['parameter']) . '"'; | ||
$result = $db->query($sql); | ||
$row = $result->fetchArray(SQLITE3_NUM); | ||
if (isset($row[0])) {$value = $row[0];} else {unset($value);} | ||
//$value = $row[0]; | ||
$value = $row[0]; | ||
|
||
echo (json_encode($value)); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.