aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index a01a0e2fa..46140b699 100644
--- a/include/items.php
+++ b/include/items.php
@@ -2108,8 +2108,8 @@ function item_store_update($arr, $allow_exec = false, $deliver = true) {
// apply the input filter here
- $arr['summary'] = trim(z_input_filter($arr['summary'],$arr['mimetype'],$allow_exec));
- $arr['body'] = trim(z_input_filter($arr['body'],$arr['mimetype'],$allow_exec));
+ $arr['summary'] = ((isset($arr['summary'])) ? trim(z_input_filter($arr['summary'],$arr['mimetype'],$allow_exec)) : '');
+ $arr['body'] = ((isset($arr['body'])) ? trim(z_input_filter($arr['body'],$arr['mimetype'],$allow_exec)) : '');
item_sign($arr);