From 454aa6bff38ee540b7467f3caa3d6651b70f14ef Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 13 Oct 2013 20:09:11 -0700 Subject: turn off endless scroll if we have no more content to load - currently for mod_display, need to add to other content modules --- include/items.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/items.php b/include/items.php index 28aa632ca..2229da5db 100755 --- a/include/items.php +++ b/include/items.php @@ -1825,6 +1825,7 @@ function item_store_update($arr,$allow_exec = false) { unset($arr['id']); unset($arr['uid']); + if(array_key_exists('edit',$arr)) unset($arr['edit']); $arr['mimetype'] = ((x($arr,'mimetype')) ? notags(trim($arr['mimetype'])) : 'text/bbcode'); -- cgit v1.2.3