Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
glpi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
GLPI
glpi
Commits
aaf71887
Commit
aaf71887
authored
Apr 11, 2019
by
Tim
Committed by
Johan Cwiklinski
Apr 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed output not working in rule actions
Fixed typo ouput
parent
c2a9d74d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
inc/rule.class.php
inc/rule.class.php
+4
-4
No files found.
inc/rule.class.php
View file @
aaf71887
...
...
@@ -1411,7 +1411,7 @@ class Rule extends CommonDBTM {
* Process the rule
*
* @param &$input the input data used to check criterias
* @param &$output the initial ouput array used to be manipulate by actions
* @param &$output the initial ou
t
put array used to be manipulate by actions
* @param &$params parameters for all internal functions
* @param &options array options:
* - only_criteria : only react on specific criteria
...
...
@@ -1449,8 +1449,8 @@ class Rule extends CommonDBTM {
*
* @param &options options :
* - only_criteria : only react on specific criteria
* @param $refoutput the initial ouput array used to be manipulate by actions
* @param $newoutput the ouput array after actions process
* @param $refoutput the initial ou
t
put array used to be manipulate by actions
* @param $newoutput the ou
t
put array after actions process
*
* @return the options array updated.
**/
...
...
@@ -1819,7 +1819,7 @@ class Rule extends CommonDBTM {
default
:
//plugins actions
$executeaction
=
clone
$this
;
$ouput
=
$executeaction
->
executePluginsActions
(
$action
,
$output
,
$params
,
$input
);
$ou
t
put
=
$executeaction
->
executePluginsActions
(
$action
,
$output
,
$params
,
$input
);
break
;
}
}
...
...
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