split up get_browser_language() to use in additional ways

This commit is contained in:
friendica
2012-07-16 01:38:26 -07:00
parent c148455570
commit b79212dcc8
4 changed files with 17 additions and 3 deletions

View File

@@ -827,6 +827,8 @@ function item_store($arr,$force_parent = false) {
$arr['body'] = strip_tags($arr['body']);
$arr['lang'] = detect_language($arr['body']);
$arr['wall'] = ((x($arr,'wall')) ? intval($arr['wall']) : 0);