1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-23 13:08:18 +01:00

(stable) Fix a PhutilURI issue in Multimeter

Fished this out of the `secure` error logs.
This commit is contained in:
epriestley 2019-02-17 17:39:34 -08:00
parent 005eb5f9fc
commit d4f28640eb

View file

@ -300,9 +300,10 @@ final class MultimeterSampleController extends MultimeterController {
$group = implode('.', $group); $group = implode('.', $group);
if (!strlen($group)) { if (!strlen($group)) {
$group = null; $uri->removeQueryParam('group');
} else {
$uri->replaceQueryParam('group', $group);
} }
$uri->replaceQueryParam('group', $group);
if ($wipe) { if ($wipe) {
foreach ($this->getColumnMap() as $key => $column) { foreach ($this->getColumnMap() as $key => $column) {