forked from HPR/hpr_generator
		
	Fix file existence logic for get_avatar MACRO
Test for existence on filesystem
This commit is contained in:
		| @@ -17,7 +17,7 @@ | ||||
| 		on h.hostid = e.hostid ' | ||||
| 	) %--> | ||||
| 	<tr height="80" bgcolor="#CCCCCC"> | ||||
| 	<td><img src="./images/<!--% get_avatar(host.local_image, host.hostid) %-->" height="80" width="80" alt="avatar" /></td> | ||||
| 	<td><img src="./images/<!--% get_avatar(host.hostid) %-->" height="80" width="80" alt="avatar" /></td> | ||||
|  | ||||
| 		<td><strong><!--% host.host %--></strong><br /> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user