Skip to content

Commit

Permalink
Autoupdater Robot
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteNews committed Jan 17, 2014
1 parent 7958c1c commit 4badb2d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/modules/add_news.php
Expand Up @@ -48,7 +48,7 @@ function add_news_invoke()

$entry = array();
$entry['id'] = $c_time;
$entry['t'] = cn_htmlspecialchars($title);
$entry['t'] = cn_htmlclear($title);
$entry['u'] = $member['name'];
$entry['c'] = news_make_category($category);
$entry['s'] = cn_htmlclear($short_story);
Expand Down
2 changes: 1 addition & 1 deletion core/modules/edit_news.php
Expand Up @@ -265,7 +265,7 @@ function edit_news_action_edit()
$target_source = $archive_id ? "archive-$archive_id" : ($draft_target ? 'draft' : '');
$if_use_html = $if_use_html ? TRUE : (getoption('use_wysiwyg') ? TRUE : FALSE);

$entry['t'] = cn_htmlspecialchars($title);
$entry['t'] = cn_htmlclear($title);
$entry['c'] = is_array($category) ? join(',', $category) : $category;
$entry['s'] = cn_htmlclear($short_story);
$entry['f'] = cn_htmlclear($full_story);
Expand Down
2 changes: 1 addition & 1 deletion skins/base/editnews/list.php
Expand Up @@ -184,7 +184,7 @@

<?php hook('template/editnews/list_item_before', array($ID, $entry)); ?>
<td>
<div style="word-wrap:break-word; width:200px;">
<div style="word-wrap: break-word; width:200px;">
<?php if ($entry['can']) {

$title = $entry['title'] ? $entry['title'] : '<no title:'.$entry['id'].'>';
Expand Down

0 comments on commit 4badb2d

Please sign in to comment.