From 31a139f61c6335df5fabd9b2c58b0a708e443439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2EA=2E=20Jim=C3=A9nez?= <66381987+prinhelmet@users.noreply.github.com> Date: Fri, 28 Oct 2022 11:27:15 +0200 Subject: [PATCH] Do not cut chars for factors summary on table Right now table is showing cuted strings at start. This strings are only used here, then I think cut it is an error. --- classes/local/admin_setting_managemfa.php | 1 - 1 file changed, 1 deletion(-) diff --git a/classes/local/admin_setting_managemfa.php b/classes/local/admin_setting_managemfa.php index 6512cd85..6d304570 100644 --- a/classes/local/admin_setting_managemfa.php +++ b/classes/local/admin_setting_managemfa.php @@ -207,7 +207,6 @@ public function define_factor_combinations_table() { . ' ' . $factor->get_weight() . ''; } - $string = substr($string, 4); $table->data[] = new \html_table_row([$string, $combination['totalweight']]); }