From: Zach Prezkuta Date: Sat, 23 Feb 2013 17:06:59 +0000 (-0700) Subject: run limit_body_size on imported emails, which don't go through consume_feed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fcab22b80f81c9b1eb956183f2ac6a9984daae63;p=friendica.git run limit_body_size on imported emails, which don't go through consume_feed --- diff --git a/include/onepoll.php b/include/onepoll.php index f66a48dd46..d5b1668d4f 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -426,6 +426,7 @@ function onepoll_run(&$argv, &$argc){ continue; } $datarray['body'] = escape_tags($r['body']); + $datarray['body'] = limit_body_size($datarray['body']); logger("Mail: Importing ".$msg_uid." for ".$mailconf[0]['user']);