From adab70240390b100fbd64e95d7522bb02079a9a8 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sun, 17 Feb 2019 17:39:34 -0800 Subject: [PATCH] Fix a PhutilURI issue in Multimeter Fished this out of the `secure` error logs. --- .../multimeter/controller/MultimeterSampleController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/applications/multimeter/controller/MultimeterSampleController.php b/src/applications/multimeter/controller/MultimeterSampleController.php index 73c9ba530e..190a839f63 100644 --- a/src/applications/multimeter/controller/MultimeterSampleController.php +++ b/src/applications/multimeter/controller/MultimeterSampleController.php @@ -300,9 +300,10 @@ final class MultimeterSampleController extends MultimeterController { $group = implode('.', $group); if (!strlen($group)) { - $group = null; + $uri->removeQueryParam('group'); + } else { + $uri->replaceQueryParam('group', $group); } - $uri->replaceQueryParam('group', $group); if ($wipe) { foreach ($this->getColumnMap() as $key => $column) {