# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /var/www/html/zabbix/branches/dev/ZBX-12607/frontends/php/include/classes/macros
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: CMacrosResolver.php
--- CMacrosResolver.php Base (BASE)
+++ CMacrosResolver.php Locally Modified (Based On LOCAL)
@@ -1728,6 +1728,10 @@
 	 * @return string
 	 */
 	public function resolveMapLabelMacrosAll(array $selement) {
+		if ($selement['permission'] < PERM_READ) {
+			return '';
+		}
+
 		$label = $selement['label'];
 
 		// For host and trigger items expand macros if they exists.
