mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-09 17:44:31 +02: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…
Add table
Add a link
Reference in a new issue