diff --git a/classes/PowerDistribution.class.php b/classes/PowerDistribution.class.php index 5c582d1d..0d1de808 100644 --- a/classes/PowerDistribution.class.php +++ b/classes/PowerDistribution.class.php @@ -63,7 +63,7 @@ function MakeSafe(){ $this->InputAmperage=intval($this->InputAmperage); $this->FailSafe=intval($this->FailSafe); $this->PanelID2=intval($this->PanelID2); - $this->PanelPole2=intval($this->PanelPole2); + $this->PanelPole2=sanitize($this->PanelPole2); } function MakeDisplay(){