public function process() { if ($this->value !== null) { Parameter::$report->addWhere[0] = ''; // changed from $add_where. Assumed mistake. ReportTable::$maxRows = $this->value; FormInputs::addVisible("prm_{$this->id}", $this->value); Parameter::$display .= $this->description(); } }