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
ff8d56d5
Commit
ff8d56d5
authored
Apr 29, 2019
by
Johan Cwiklinski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '9.4/bugfixes' into 9.5/bugfixes
parents
bd0daa45
647e2e0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
inc/location.class.php
inc/location.class.php
+2
-2
inc/software.class.php
inc/software.class.php
+1
-1
inc/transfer.class.php
inc/transfer.class.php
+1
-1
No files found.
inc/location.class.php
View file @
ff8d56d5
...
...
@@ -351,7 +351,7 @@ class Location extends CommonTreeDropdown {
$criteria
=
[
'SELECT'
=>
[
"
$table
.id"
,
"
$crit
AS type"
new
\
QueryExpression
(
$DB
->
quoteValue
(
$crit
)
.
' AS '
.
$DB
->
quoteName
(
'type'
)),
],
'FROM'
=>
$table
,
'WHERE'
=>
[
...
...
@@ -366,7 +366,7 @@ class Location extends CommonTreeDropdown {
$union
->
addQuery
([
'SELECT'
=>
[
'id'
,
new
\
QueryExpression
(
"'
$type
' AS type"
)
new
\
QueryExpression
(
$DB
->
quoteValue
(
$type
)
.
' AS '
.
$DB
->
quoteName
(
'type'
)),
],
'FROM'
=>
$table
,
'WHERE'
=>
[
...
...
inc/software.class.php
View file @
ff8d56d5
...
...
@@ -1034,7 +1034,7 @@ class Software extends CommonDBTM {
);
$DB
->
update
(
'glpi_
computers_softwareversion
s'
,
[
'glpi_
softwarelicense
s'
,
[
'softwareversions_id_use'
=>
$dest
[
'id'
]
],
[
'softwareversions_id_use'
=>
$from
[
'id'
]
...
...
inc/transfer.class.php
View file @
ff8d56d5
...
...
@@ -906,7 +906,7 @@ class Transfer extends CommonDBTM {
'glpi_contacts'
=>
[
'ON'
=>
[
'glpi_contacts_suppliers'
=>
'contacts_id'
,
'glpi_
suppliers'
=>
'id'
'glpi_
contacts'
=>
'id'
]
]
],
...
...
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