2017-05-09 00:29:39 +02:00
|
|
|
https://bugs.archlinux.org/task/52683
|
|
|
|
|
2017-04-27 23:27:02 +02:00
|
|
|
--- pgadmin/frm/plugins.cpp
|
|
|
|
+++ pgadmin/frm/plugins.cpp
|
|
|
|
@@ -380,7 +380,7 @@ bool pluginUtilityFactory::CheckEnable(p
|
|
|
|
{
|
|
|
|
// If we need a specific server type, we can't enable unless
|
|
|
|
// we have a connection.
|
|
|
|
- if (!obj || !(obj->GetConnection()->GetStatus() == PGCONN_OK))
|
|
|
|
+ if (!obj || !obj->GetConnection() || !(obj->GetConnection()->GetStatus() == PGCONN_OK))
|
|
|
|
return false;
|
|
|
|
|
|
|
|
// Get the server type.
|