Skip to content

Commit

Permalink
refs #1067 : modify - remove unnecessary escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
inureyes committed Jun 3, 2015
1 parent 64083ea commit fb8f7ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions library/model/blog/entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -1257,12 +1257,12 @@ function saveDraftEntry($blogid, $entry) {
$tags = getTagsWithEntryString($entry['tag']);
Tag::modifyTagsWithEntryId($blogid, $entry['id'], $tags);

$location = POD::escapeString($entry['location']);
$location = $entry['location'];
$latitude = isset($entry['latitude']) && !is_null($entry['latitude']) ? $entry['latitude'] : 'NULL';
$longitude = isset($entry['longitude']) && !is_null($entry['longitude']) ? $entry['longitude'] : 'NULL';
$content = POD::escapeString($entry['content']);
$contentformatter = POD::escapeString($entry['contentformatter']);
$contenteditor = POD::escapeString($entry['contenteditor']);
$content = $entry['content'];
$contentformatter = $entry['contentformatter'];
$contenteditor = $entry['contenteditor'];
switch ($entry['published']) {
case 0:
$published = $origEntry['published'];
Expand Down

0 comments on commit fb8f7ed

Please sign in to comment.