mirror of https://github.com/flightphp/core
				
				
				
			Merge pull request #650 from flightphp/bad-data-var-in-view
	
		
	
				
					
				
			Fixed issue with data in view classpull/651/head v3.15.3
						commit
						5df2800753
					
				@ -1 +1,5 @@
 | 
				
			||||
<?php if(isset($name)): ?>
 | 
				
			||||
<span id="infotext">Route text:</span> Template <?=$name?> works!
 | 
				
			||||
<?php elseif(isset($data)): ?>
 | 
				
			||||
<span id="infotext">Route text:</span> Template with variable name "data" works! See: <?=$data?>
 | 
				
			||||
<?php endif; ?>
 | 
				
			||||
 | 
				
			||||
					Loading…
					
					
				
		Reference in new issue