diff --git a/app/cdash/app/Model/BuildGroup.php b/app/cdash/app/Model/BuildGroup.php index 9ab4e28455..f31cf05882 100644 --- a/app/cdash/app/Model/BuildGroup.php +++ b/app/cdash/app/Model/BuildGroup.php @@ -427,7 +427,7 @@ public function GetGroupIdFromRule(Build $build): int ->where('buildgroup.projectid', '=', $build->ProjectId) ->where('build2grouprule.buildtype', '=', $build->Type) ->where('build2grouprule.siteid', '=', -1) - ->whereRaw("'{$build->Name}' LIKE build2grouprule.buildname") + ->whereRaw('? LIKE build2grouprule.buildname', [$build->Name]) ->where('build2grouprule.starttime', '<', $build->StartTime) ->where(function ($query) use ($starttime): void { $query->where('build2grouprule.endtime', '=', '1980-01-01 00:00:00') diff --git a/config/cdash.php b/config/cdash.php index 77562c194d..db1f387fda 100755 --- a/config/cdash.php +++ b/config/cdash.php @@ -19,7 +19,7 @@ 'min' => env('MINIMUM_PASSWORD_LENGTH', 5), 'expires' => env('PASSWORD_EXPIRATION', 0), ], - 'version' => '5.2.0', + 'version' => '5.3.0', 'registration' => [ 'email' => [ 'verify' => env('REGISTRATION_EMAIL_VERIFY', true),