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

@@ -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>