{
return addcslashes($title, "'");
}
+
+if (is_array($row['tags'])) {
+ $row['tags'] = implode(', ', $row['tags']);
+}
?>
<form action="<?php echo $formaction; ?>" method="post">
<table>
<tr>
<th align="left"><?php echo T_('Tags'); ?></th>
<td class="scuttletheme">
- <input type="text" id="tags" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>"/>
+ <input type="text" id="tags" name="tags" size="75" value="<?php echo filter($row['tags'], 'xml'); ?>"/>
</td>
<td>← <?php echo T_('Comma-separated'); ?></td>
</tr>