Scrape now doesn't fetch page data when its twitter and Co./Update script that updates the contacts from the profile

This commit is contained in:
Michael Vogel 2015-01-26 01:07:15 +01:00
parent bc2c046446
commit e8bfa32b37
4 changed files with 70 additions and 21 deletions

View file

@ -149,6 +149,7 @@ function profile_clean_keywords($keywords) {
$cleaned = array();
foreach ($keywords as $keyword) {
$keyword = trim(strtolower($keyword));
$keyword = trim($keyword, "#");
if ($keyword != "")
$cleaned[] = $keyword;
}