don't allow tags in app source
This commit is contained in:
parent
0e809b9301
commit
5633430a19
3 changed files with 3 additions and 3 deletions
|
@ -821,7 +821,7 @@ function fb_consume_stream($uid,$j,$wall = false) {
|
|||
$datarray['owner-avatar'] = $self[0]['thumb'];
|
||||
}
|
||||
if(isset($entry->application) && isset($entry->application->name) && strlen($entry->application->name))
|
||||
$datarray['app'] = $entry->application->name;
|
||||
$datarray['app'] = strip_tags($entry->application->name);
|
||||
else
|
||||
$datarray['app'] = 'facebook';
|
||||
$datarray['author-name'] = $from->name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue