Project

General

Profile

« Previous | Next » 

Revision eda41792

Added by Renato Botelho over 11 years ago

Add {} between variables inside quotes

View differences:

etc/inc/ipsec.attributes.php
120 120
				$tmprule .= "from any";
121 121
				$index++;
122 122
			} else {
123
				$tmprule .= "from $rule[$index]";
123
				$tmprule .= "from {$rule[$index]}";
124 124
				$index++;
125 125
				$netmask = cisco_to_cidr($rule[$index]);
126 126
				$tmprule .= "/{$netmask} ";
......
139 139
				$index++;
140 140
				$tmprule .= "to any";
141 141
			} else {
142
				$tmprule .= "to $rule[$index]";
142
				$tmprule .= "to {$rule[$index]}";
143 143
				$index++;
144 144
				$netmask = cisco_to_cidr($rule[$index]);
145 145
				$tmprule .= "/{$netmask} ";

Also available in: Unified diff