summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-26 07:18:06 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-26 07:18:06 +0100
commitea7d2dc21a7e91ea81bc6d9fbb0cea8b27e38099 (patch)
tree6e15cd70394e3591fa1cdd18d3c4fc2ed765a10f /lib
parent28f5d1cc471a20dd40b67176b75356455dac6f85 (diff)
downloaddrakx-net-ea7d2dc21a7e91ea81bc6d9fbb0cea8b27e38099.tar
drakx-net-ea7d2dc21a7e91ea81bc6d9fbb0cea8b27e38099.tar.gz
drakx-net-ea7d2dc21a7e91ea81bc6d9fbb0cea8b27e38099.tar.bz2
drakx-net-ea7d2dc21a7e91ea81bc6d9fbb0cea8b27e38099.tar.xz
drakx-net-ea7d2dc21a7e91ea81bc6d9fbb0cea8b27e38099.zip
fix "undefined value for mandatory argument 'sensitive'" (mga#11764)
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection_manager/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection_manager/gtk.pm b/lib/network/connection_manager/gtk.pm
index 1c56079..779a93a 100644
--- a/lib/network/connection_manager/gtk.pm
+++ b/lib/network/connection_manager/gtk.pm
@@ -122,7 +122,7 @@ sub update_on_status_change {
$cmanager->{connection} && (
!$cmanager->{connection}->can('get_networks') ||
$cmanager->{connection}->get_status || #- always allow to disconnect if connected
- $cmanager->{connection}{network}
+ $cmanager->{connection}{network} || 0
));
}