Added missing global.
authorjollytoad <jollytoad>
Thu, 15 Jul 2004 09:52:20 +0000 (09:52 +0000)
committerjollytoad <jollytoad>
Thu, 15 Jul 2004 09:52:20 +0000 (09:52 +0000)
classes/Misc.php

index fcd555d21d9f86c9ff952e7fc25af2b1755f583b..501a1753f6b8c2689a1dee0b6ea32af80ab70312 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.74 2004/07/15 09:32:52 jollytoad Exp $
+        * $Id: Misc.php,v 1.75 2004/07/15 09:52:20 jollytoad Exp $
         */
         
        class Misc {
                 * Get the URL for the last active tab of a particular tab bar.
                 */
                function getLastTabURL($section) {
+                       global $data;
+                       
                        switch ($section) {
                                case 'database':
                                case 'schema':