mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
parent
7273959007
commit
e006902254
@ -42,7 +42,7 @@ class ThresholdRange
|
|||||||
|
|
||||||
$rawRange = ltrim($rawRange);
|
$rawRange = ltrim($rawRange);
|
||||||
if (substr($rawRange, 0, 1) === '@') {
|
if (substr($rawRange, 0, 1) === '@') {
|
||||||
$range->setInverted(true);
|
$range->setInverted();
|
||||||
$rawRange = substr($rawRange, 1);
|
$rawRange = substr($rawRange, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ class ThresholdRange
|
|||||||
*
|
*
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function setInverted($inverted)
|
public function setInverted($inverted = true)
|
||||||
{
|
{
|
||||||
$this->inverted = $inverted;
|
$this->inverted = $inverted;
|
||||||
return $this;
|
return $this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user