undefined variable

This commit is contained in:
Marc Delisle
2003-02-25 15:03:22 +00:00
parent a663294e0d
commit b589ad6280
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-02-25 Marc Delisle <lem9@users.sourceforge.net>
* db_details_structure.php3: undefined variable $comment
2003-02-25 Alexander M. Turek <rabus@users.sourceforge.net>
* lang/bulgarian-*.inc.php3, lang/czech-*.inc.php3, lang/dutch-*.inc.php3,
lang/swedish-*.inc.php3, lang/thai-*.inc.php3: Removed problematic %e from

View File

@@ -495,7 +495,7 @@ if ($cfgRelation['commwork']) {
<?php echo $strDBComment; ?>
<input type="hidden" name="db_comment" value="true" />
<?php echo PMA_generate_common_hidden_inputs($db); ?>
<input type="text" name="comment" class="textfield" value="<?php echo (is_array($comment) ? htmlspecialchars(implode(' ', $comment)) : ''); ?>" />
<input type="text" name="comment" class="textfield" value="<?php echo (isset($comment) && is_array($comment) ? htmlspecialchars(implode(' ', $comment)) : ''); ?>" />
<input type="submit" value="<?php echo $strGo; ?>" />
</form>
</li>