Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
9410600a
Commit
9410600a
authored
Jan 15, 2018
by
Francesc Guasch
Browse files
[#513] fixed cherry-pick copy code
parent
d16bb471
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada/Domain.pm
View file @
9410600a
...
...
@@ -462,7 +462,11 @@ sub open($class, $id) {
confess
"
Missing id
"
if
!
defined
$id
;
my
$self
=
{};
bless
$self
,
$class
;
if
(
ref
(
$class
))
{
$self
=
$class
;
}
else
{
bless
$self
,
$class
}
my
$row
=
$self
->
_select_domain_db
(
id
=>
$id
);
...
...
@@ -1531,7 +1535,7 @@ sub list_requests {
my
$all
=
shift
;
my
$sth
=
$$CONNECTOR
->
dbh
->
prepare
(
"
SELECT * FROM requests WHERE id_domain = ? AND status
ne
'done'
"
"
SELECT * FROM requests WHERE id_domain = ? AND status
<>
'done'
"
);
$sth
->
execute
(
$self
->
id
);
my
@list
;
...
...
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