Add (badge)
This commit is contained in:
@@ -62,10 +62,9 @@
|
||||
for ($i = 1; $i <= $last_record->id; $i++) {
|
||||
$rss_post = RssPost::find($i);
|
||||
|
||||
if (!is_null($rss_post))
|
||||
{
|
||||
$rss_post->post_domain = get_domain_from_url($rss_post->post_url);
|
||||
$rss_post->save();
|
||||
if (! is_null($rss_post)) {
|
||||
$rss_post->post_domain = get_domain_from_url($rss_post->post_url);
|
||||
$rss_post->save();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user