forked from HPR/hpr_generator
		
	Fix file existence logic for get_avatar MACRO
Test for existence on filesystem
This commit is contained in:
		| @@ -32,7 +32,7 @@ | ||||
| 		<!--% this_host = hosts.$id %--> | ||||
| 		<h2 class="title">Correspondent</h2> | ||||
| 		<h2><!--% this_host.host %--></h2> | ||||
| 		<p><img src="./images/<!--% get_avatar(this_host.local_image, this_host.hostid) %-->"  | ||||
| 		<p><img src="./images/<!--% get_avatar(this_host.hostid) %-->"  | ||||
| 				height="80" alt="Host Image" /><br> | ||||
| 		<label>Host ID</label>: <!--% this_host.hostid %--><br><br> | ||||
| 		<label>email:</label> <u><!--% this_host.email %--></u><br> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user