From ce9ac280c76fad2fe50d792f567f65d5a72c3880 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 8 Jan 2023 13:04:22 +0800 Subject: [PATCH] Update index.py --- plugins/phpmyadmin/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/phpmyadmin/index.py b/plugins/phpmyadmin/index.py index 3a6d519c6..af4ed41f5 100755 --- a/plugins/phpmyadmin/index.py +++ b/plugins/phpmyadmin/index.py @@ -85,7 +85,7 @@ def getPhpVer(expect=55): v = site_api.site_api().getPhpVersion() is_find = False for i in range(len(v)): - t = int(v[i]['version']) + t = str(v[i]['version']) if (t == expect): is_find = True return str(t)