fix error in schema name for parent tables
authorxzilla <xzilla>
Fri, 26 Jan 2007 17:03:01 +0000 (17:03 +0000)
committerxzilla <xzilla>
Fri, 26 Jan 2007 17:03:01 +0000 (17:03 +0000)
info.php

index ff5f8aadbeaedbff3e051034165fe21fa6422797..697b090ea114d10a7cede10bd2a8eee578a117cb 100644 (file)
--- a/info.php
+++ b/info.php
@@ -3,7 +3,7 @@
        /**
         * List extra information on a table
         *
-        * $Id: info.php,v 1.11 2005/10/18 03:45:16 chriskl Exp $
+        * $Id: info.php,v 1.12 2007/01/26 17:03:01 xzilla Exp $
         */
 
        // Include application functions
                                        $id = ( ($i % 2 ) == 0 ? '1' : '2' );
                                        echo "\t<tr>\n";
                                        if ($data->hasSchemas()) {
-                                               echo "\t\t<td class=\"data{$id}\">", $misc->printVal($parents->f['schemaname']), "</td>";
+                                               echo "\t\t<td class=\"data{$id}\">", $misc->printVal($parents->f['nspname']), "</td>";
                                        }
                                        echo "<td class=\"data{$id}\">", $misc->printVal($parents->f['relname']), "</td>";
                                        echo "<td class=\"opbutton{$id}\"><a href=\"tblproperties.php?{$misc->href}",
-                                               "&amp;schema=", urlencode($parents->f['schemaname']),
+                                               "&amp;schema=", urlencode($parents->f['nspname']),
                                                "&amp;table=", urlencode($parents->f['relname']), "\">{$lang['strproperties']}</a></td>\n";
                                        echo "\t</tr>\n";
                                        $parents->movenext();