mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions.d/notification-telegram: for syntax for ROS 7.x
Strings with escape sequence have to be enclosed in parentheses. Looks like RouterOS 7.x is stricter here...
This commit is contained in:
parent
d4896f2585
commit
772e66b622
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@
|
|||
:global IfThenElse;
|
||||
|
||||
:if ($TelegramFixedWidthFont != true) do={
|
||||
:return ($1 . [ $IfThenElse ($2 = "body") "\n" "" ]);
|
||||
:return ($1 . [ $IfThenElse ($2 = "body") ("\n") "" ]);
|
||||
}
|
||||
|
||||
:local Return $1;
|
||||
|
|
Loading…
Reference in a new issue