diff options
author | Jehan-Guillaume (ioguix) de Rorthais | 2012-03-26 08:05:28 +0000 |
---|---|---|
committer | Jehan-Guillaume (ioguix) de Rorthais | 2012-03-26 08:05:28 +0000 |
commit | fa8edc2d0afa8bdcca83d9f99eeaf9a667141de1 (patch) | |
tree | 572098ef888949e9dd123e740d904efaed5bbe49 | |
parent | e92a003624609a445c4cf57c9c3d1fcef0eae47c (diff) |
Fix regression where slony menu is always shown.REL_5-0
Regression from patch 36cdb2e40b34a2ca9e2e74db5748f8170f029aad "Fix a
small PHP warning when Slony conf parameters are not set".
-rw-r--r-- | libraries/lib.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/lib.inc.php b/libraries/lib.inc.php index f6db0e26..808b7803 100644 --- a/libraries/lib.inc.php +++ b/libraries/lib.inc.php @@ -249,7 +249,7 @@ // Load Slony if required - if (isset($_server_info['slony_support'])) { + if (isset($_server_info['slony_support']) && $_server_info['slony_support']) { include('./classes/plugins/Slony.php'); $slony = new Slony(); } |