Project

General

Profile

« Previous | Next » 

Revision 489eca27

Added by Steve Beaver about 7 years ago

PHP7 Resolved Services->uPNP integer value warning

View differences:

src/usr/local/www/classes/Form/Section.class.php
38 38
		if (!empty($id)) {
39 39
			$this->_attributes['id'] = $id;
40 40
		}
41

  
41 42
		$this->_title = $title;
42 43
		$this->_collapsible = $collapsible;
43 44
	}
......
96 97
		$bodyclass = '<div class="panel-body">';
97 98
		$id = $this->_attributes['id'];
98 99

  
99
		if ($this->_collapsible & COLLAPSIBLE) {
100
		if (intval($this->_collapsible) & COLLAPSIBLE) {
100 101
			$hdricon = '<span class="widget-heading-icon">' .
101 102
				'<a data-toggle="collapse" href="#' . $id . '_panel-body">' .
102 103
					'<i class="fa fa-plus-circle"></i>' .

Also available in: Unified diff