Fix error after refactoring

This commit is contained in:
Frédéric Guillot 2013-12-22 22:30:49 -05:00
parent cd671c60b7
commit eb9f307da8

View File

@ -345,7 +345,7 @@ function update_all($feed_id, array $items, $grabber = false)
if ($db->table('items')->eq('id', $item->id)->count() !== 1) {
if (! $item->content && ! $nocontent && $grabber) {
$item->content = download_content($item->url);
$item->content = download_content_url($item->url);
}
$db->table('items')->save(array(