Fixed isDumpEnabled.
authorjollytoad <jollytoad>
Tue, 29 Mar 2005 07:57:45 +0000 (07:57 +0000)
committerjollytoad <jollytoad>
Tue, 29 Mar 2005 07:57:45 +0000 (07:57 +0000)
classes/Misc.php

index 307243c9b9cc677eb019431ec0edbf5edcf03be1..725d191fb76f17c5e0c1389e0bc696a258c8bb08 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.98.2.12 2005/03/22 09:29:34 jollytoad Exp $
+        * $Id: Misc.php,v 1.98.2.13 2005/03/29 07:57:45 jollytoad Exp $
         */
         
        class Misc {
@@ -22,7 +22,7 @@
                 */
                function isDumpEnabled($all = false) {
                        $info = $this->getServerInfo();
-                       return !empty($info[$all ? 'pg_dumpall_path' : 'pg_dump']);
+                       return !empty($info[$all ? 'pg_dumpall_path' : 'pg_dump_path']);
                }
 
                /**