From b1242259e7fbb3b80f69f85ffb52f13a070c2f47 Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 4 Mar 2020 12:54:38 +0100 Subject: [PATCH] [Web] Fix cow level, sorry :( --- data/web/inc/functions.inc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data/web/inc/functions.inc.php b/data/web/inc/functions.inc.php index 2c6131ac..75ed8eb0 100644 --- a/data/web/inc/functions.inc.php +++ b/data/web/inc/functions.inc.php @@ -1275,7 +1275,12 @@ function license($action, $data = null) { $_SESSION['gal']['valid'] = "true"; $_SESSION['gal']['c'] = $json_return['c']; $_SESSION['gal']['s'] = $json_return['s']; - $_SESSION['gal']['m'] = str_repeat('🐄', substr_count($json_return['m'], 'o')); + if ($json_return['m'] == 'NoMoore') { + $_SESSION['gal']['m'] = '🐄'; + } + else { + $_SESSION['gal']['m'] = str_repeat('🐄', substr_count($json_return['m'], 'o')); + } } elseif ($json_return['response'] === "invalid") { $_SESSION['gal']['valid'] = "false";