Merge #317 - Fix #309 QueryHistoryMax is an int

This commit is contained in:
William Desportes
2020-12-31 11:08:11 +01:00
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ if (isset($_ENV['PMA_QUERYHISTORYDB'])) {
}
if (isset($_ENV['PMA_QUERYHISTORYDB'])) {
$cfg['QueryHistoryMax'] = boolval($_ENV['PMA_QUERYHISTORYMAX']);
$cfg['QueryHistoryMax'] = intval($_ENV['PMA_QUERYHISTORYMAX']);
}
/* Arbitrary server connection */
+1 -1
View File
@@ -36,7 +36,7 @@ if (isset($_ENV['PMA_QUERYHISTORYDB'])) {
}
if (isset($_ENV['PMA_QUERYHISTORYDB'])) {
$cfg['QueryHistoryMax'] = boolval($_ENV['PMA_QUERYHISTORYMAX']);
$cfg['QueryHistoryMax'] = intval($_ENV['PMA_QUERYHISTORYMAX']);
}
/* Arbitrary server connection */
+1 -1
View File
@@ -36,7 +36,7 @@ if (isset($_ENV['PMA_QUERYHISTORYDB'])) {
}
if (isset($_ENV['PMA_QUERYHISTORYDB'])) {
$cfg['QueryHistoryMax'] = boolval($_ENV['PMA_QUERYHISTORYMAX']);
$cfg['QueryHistoryMax'] = intval($_ENV['PMA_QUERYHISTORYMAX']);
}
/* Arbitrary server connection */
+1 -1
View File
@@ -36,7 +36,7 @@ if (isset($_ENV['PMA_QUERYHISTORYDB'])) {
}
if (isset($_ENV['PMA_QUERYHISTORYDB'])) {
$cfg['QueryHistoryMax'] = boolval($_ENV['PMA_QUERYHISTORYMAX']);
$cfg['QueryHistoryMax'] = intval($_ENV['PMA_QUERYHISTORYMAX']);
}
/* Arbitrary server connection */