turn off endless scroll if we have no more content to load - currently for mod_display, need to add to other content modules

This commit is contained in:
friendica
2013-10-13 20:09:11 -07:00
parent bae7f4e078
commit 454aa6bff3
3 changed files with 6 additions and 1 deletions

View File

@@ -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');