Commit 607b35d8 authored by Roberto P. Rubio's avatar Roberto P. Rubio
Browse files

Espacios en blanco

parent 495b17d0
......@@ -233,7 +233,9 @@ sub init_available_actions($user, $m) {
eval {
$m->{can_change_settings} = ( $user->can_change_settings($m->{id}) or 0);
};
die $@ if $@ && $@ !~ /Unknown domain/;
#may have been deleted just now
next if $@ && $@ =~ /Unknown domain/;
die $@ if $@;
$m->{can_hibernate} = 0;
$m->{can_hibernate} = 1 if $user->can_shutdown($m->{id})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment