Skip to content

Commit 84d9f4f

Browse files
committed
minor fix
1 parent 90704cd commit 84d9f4f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

admin/_images/object_filter.png

61.6 KB
Loading

admin/object-management.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,11 +1484,11 @@ Example with special syntax:
14841484
type == NODE and !$node->isInMaintenanceMode and _haveAlarms
14851485
14861486
When special syntax is used, calculation of variables in ``with`` happens only
1487-
if the expression returns true (or while calculation the expression if that
1488-
variable is used in the expression). Because of that we can use ``$node`` when
1489-
calculating _haveAlarms and _numberOfCriticalAlarms in the above example,
1490-
because we will not get into this part of code for objects which are not nodes
1491-
(because our expression starts with ``type == NODE ``).
1487+
if the expression returns true (or while calculating the expression if that
1488+
variable is used in the expression). Because of that we can use ``$node`` in
1489+
_haveAlarms and _numberOfCriticalAlarms calculation in the above example, since
1490+
we will not get into this part of code for objects which are not nodes because
1491+
our expression starts with ``type == NODE``.
14921492

14931493

14941494
Example with global variables:

0 commit comments

Comments
 (0)