From 42f20cef641edeed37532de308cc39ae40b9c8c0 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Wed, 1 Feb 2023 20:45:49 +0800 Subject: [PATCH] fix: typo ref: https://github.com/vfleaking/uoj/commit/88e2ffc54bfe343378332f081d40834789e3a724 --- web/app/models/DB.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/models/DB.php b/web/app/models/DB.php index fadba9b..57fea56 100644 --- a/web/app/models/DB.php +++ b/web/app/models/DB.php @@ -124,7 +124,7 @@ class DB { return "{$field} as {$name}"; } public static function value_as($value, $name) { - return DB::value($value)."as {$name}"; + return DB::value($value)." as {$name}"; } public static function if_func($conds, $val1, $val2) {