Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
c990ab59
Commit
c990ab59
authored
Mar 16, 2016
by
Шакарим Сапа
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Внесены коррективы в логику проверки выполнения триггера
parent
ac49ea04
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
common/modules/triggers/components/conditions/Conditions.php
common/modules/triggers/components/conditions/Conditions.php
+3
-3
No files found.
common/modules/triggers/components/conditions/Conditions.php
View file @
c990ab59
...
@@ -161,9 +161,9 @@ class Conditions {
...
@@ -161,9 +161,9 @@ class Conditions {
// Привели массив в понятный вид
// Привели массив в понятный вид
$conditionsArray
=
[];
$conditionsArray
=
[];
foreach
(
$conditions
as
$i
=>
$condition
)
{
foreach
(
$conditions
as
$i
=>
$condition
)
{
$object
=
Conditions
::
init
()
->
getConditionById
(
$condition
->
condition_id
);
//
$object=Conditions::init()->getConditionById($condition->condition_id);
if
(
$object
->
recall
===
false
)
//
if ($object->recall===false)
return
false
;
//
return false;
$conditionsArray
[
$i
][]
=
$condition
;
$conditionsArray
[
$i
][]
=
$condition
;
}
// На выходе получаем массив необходимого формата
}
// На выходе получаем массив необходимого формата
// Обрабатываем отформатированный массив
// Обрабатываем отформатированный массив
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment