diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-20 20:49:06 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-20 20:49:06 -0700 |
commit | 3763f74a104d5a9b91b3ddba5dd091640672e9bf (patch) | |
tree | 90883fc46613327fd17ebb19912d270e51664a2b /include/text.php | |
parent | c10a4ca9c7422e2d68b3222e5c1a605ff6f456d6 (diff) | |
parent | 62df06b3d6b2e56d271b69bebf8427caa715dd16 (diff) | |
download | volse-hubzilla-3763f74a104d5a9b91b3ddba5dd091640672e9bf.tar.gz volse-hubzilla-3763f74a104d5a9b91b3ddba5dd091640672e9bf.tar.bz2 volse-hubzilla-3763f74a104d5a9b91b3ddba5dd091640672e9bf.zip |
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts:
include/items.php
include/text.php
mod/item.php
view/nl/messages.po
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/text.php b/include/text.php index 67410dfbc..58e3436ca 100644 --- a/include/text.php +++ b/include/text.php @@ -1384,7 +1384,6 @@ function prepare_body(&$item,$attach = false) { else { call_hooks('prepare_body_init', $item); unobscure($item); - $s = prepare_text($item['body'],$item['mimetype'], true); } @@ -1392,9 +1391,8 @@ function prepare_body(&$item,$attach = false) { call_hooks('prepare_body', $prep_arr); $s = $prep_arr['html']; - q("update item set html = '%s' where id = %d", - dbesc($prep_arr['html']), + dbesc($s), intval($item['id']) ); @@ -1456,9 +1454,6 @@ function prepare_body(&$item,$attach = false) { $prep_arr = array('item' => $item, 'html' => $s); call_hooks('prepare_body_final', $prep_arr); - - - return $prep_arr['html']; } |