Fix error after refactoring
This commit is contained in:
parent
cd671c60b7
commit
eb9f307da8
@ -345,7 +345,7 @@ function update_all($feed_id, array $items, $grabber = false)
|
|||||||
if ($db->table('items')->eq('id', $item->id)->count() !== 1) {
|
if ($db->table('items')->eq('id', $item->id)->count() !== 1) {
|
||||||
|
|
||||||
if (! $item->content && ! $nocontent && $grabber) {
|
if (! $item->content && ! $nocontent && $grabber) {
|
||||||
$item->content = download_content($item->url);
|
$item->content = download_content_url($item->url);
|
||||||
}
|
}
|
||||||
|
|
||||||
$db->table('items')->save(array(
|
$db->table('items')->save(array(
|
||||||
|
Loading…
Reference in New Issue
Block a user