db comments broken
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
require_once('./libraries/grab_globals.lib.php');
|
||||
require_once('./libraries/common.lib.php');
|
||||
require_once('./libraries/mysql_charsets.lib.php');
|
||||
|
||||
/**
|
||||
* Rename database
|
||||
*/
|
||||
@@ -55,6 +54,21 @@ if (isset($db) &&
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Settings for relations stuff
|
||||
*/
|
||||
|
||||
require_once('./libraries/relation.lib.php');
|
||||
$cfgRelation = PMA_getRelationsParam();
|
||||
|
||||
/**
|
||||
* Check if comments were updated
|
||||
* (must be done before displaying the menu tabs)
|
||||
*/
|
||||
if ($cfgRelation['commwork'] && isset($db_comment) && $db_comment == 'true') {
|
||||
PMA_SetComment($db, '', '(db_comment)', $comment);
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepares the tables list if the user where not redirected to this script
|
||||
* because there is no table in the database ($is_info is TRUE)
|
||||
@@ -105,19 +119,6 @@ echo ' ' . ' <input type="submit" value="' . $strGo . '" />' .
|
||||
echo ' </td> </tr>';
|
||||
echo ' </form>';
|
||||
|
||||
/**
|
||||
* Settings for relations stuff
|
||||
*/
|
||||
require_once('./libraries/relation.lib.php');
|
||||
$cfgRelation = PMA_getRelationsParam();
|
||||
|
||||
/**
|
||||
* Check if comments were updated
|
||||
*/
|
||||
if ($cfgRelation['commwork'] && isset($db_comment) && $db_comment == 'true') {
|
||||
PMA_SetComment($db, '', '(db_comment)', $comment);
|
||||
}
|
||||
|
||||
echo '<table border="0" cellpadding="2" cellspacing="0">';
|
||||
if ($cfgRelation['commwork']) {
|
||||
?>
|
||||
|
Reference in New Issue
Block a user