Skip to content

Commit 12e1bf6

Browse files
committed
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2 parents cdecf93 + 7af58fc commit 12e1bf6

File tree

5 files changed

+248
-239
lines changed

5 files changed

+248
-239
lines changed

bin/internal/check-release-excludes.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ validateExtension() {
118118
;;
119119
vendor/pragmarx/google2fa-qrcode/composer.lock)
120120
;;
121+
vendor/williamdes/mariadb-mysql-kbs/cliff.toml)
122+
;;
121123
vendor/williamdes/mariadb-mysql-kbs/dist/merged-ultraslim.json)
122124
;;
123125
vendor/composer/installed.json)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
"css-loader": "^6.6.0",
3737
"date-fns": "^3.6.0",
3838
"jquery": "3.7.1",
39-
"jquery-migrate": "3.4.1",
39+
"jquery-migrate": "3.5.0",
4040
"jquery-ui-dist": "1.13.3",
4141
"jquery-ui-timepicker-addon": "1.6.3",
4242
"jquery-uitablefilter": "^1.0.0",
43-
"jquery-validation": "1.20.0",
43+
"jquery-validation": "1.20.1",
4444
"js-cookie": "3.0.5",
4545
"locutus.sprintf": "^2.0.32-code-lts.1",
4646
"mini-css-extract-plugin": "^2.5.3",

src/InsertEdit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ private function formatAsSqlValueBasedOnType(
13261326

13271327
if (
13281328
($editField->type !== 'datetime' && $editField->type !== 'timestamp' && $editField->type !== 'date')
1329-
|| ($editField->value !== 'CURRENT_TIMESTAMP' && $editField->value !== 'current_timestamp()')
1329+
|| preg_match('/^current_timestamp(\([0-6]?\))?$/i', $editField->value) < 1
13301330
) {
13311331
return $this->dbi->quoteString($editField->value);
13321332
}

src/Util.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ public static function getMenuTabList(UserGroupLevel $level): array
15041504
*/
15051505
public static function addMicroseconds(string $value): string
15061506
{
1507-
if ($value === '' || $value === 'CURRENT_TIMESTAMP' || $value === 'current_timestamp()') {
1507+
if ($value === '' || preg_match('/^current_timestamp(\([0-6]?\))?$/i', $value) > 0) {
15081508
return $value;
15091509
}
15101510

0 commit comments

Comments
 (0)