A.F....... [ZBX-8720] Fix resolving of macros in graph names when graph name contains strings similar to macros (arbitrary strings in curly braces).

git-svn-id: svn://svn.zabbix.com/trunk@50056 f4e7fd02-d210-4e34-a1e0-d4093fb66cc2