do not error out when the bookmark cannot be saved
This commit is contained in:
parent
21c583a4cd
commit
f67250a720
1 changed files with 5 additions and 1 deletions
|
@ -20,6 +20,10 @@ function jsEscTitle($title)
|
||||||
{
|
{
|
||||||
return addcslashes($title, "'");
|
return addcslashes($title, "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_array($row['tags'])) {
|
||||||
|
$row['tags'] = implode(', ', $row['tags']);
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
<form action="<?php echo $formaction; ?>" method="post">
|
<form action="<?php echo $formaction; ?>" method="post">
|
||||||
<table>
|
<table>
|
||||||
|
@ -62,7 +66,7 @@ function jsEscTitle($title)
|
||||||
<tr>
|
<tr>
|
||||||
<th align="left"><?php echo T_('Tags'); ?></th>
|
<th align="left"><?php echo T_('Tags'); ?></th>
|
||||||
<td class="scuttletheme">
|
<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>
|
||||||
<td>← <?php echo T_('Comma-separated'); ?></td>
|
<td>← <?php echo T_('Comma-separated'); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue