Skip to content

Commit 5b9e13f

Browse files
fxo: fix issue with get php runtime version failed (#9017)
1 parent fd54371 commit 5b9e13f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/app/service/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func (a AppService) PageApp(ctx *gin.Context, req request.AppSearch) (interface{
108108
lang := strings.ToLower(common.GetLang(ctx))
109109
for _, ap := range apps {
110110
if req.Type == "php" {
111-
if ap.RequiredPanelVersion == 0 || !common.CompareAppVersion(fmt.Sprintf("%f", ap.RequiredPanelVersion), common.GetSystemVersion(info.SystemVersion)) {
111+
if ap.RequiredPanelVersion == 0 || !common.CompareAppVersion(common.GetSystemVersion(info.SystemVersion), fmt.Sprintf("%f", ap.RequiredPanelVersion)) {
112112
continue
113113
}
114114
}

0 commit comments

Comments
 (0)