@@ -257,7 +257,10 @@ class View extends Profile
];
if ($this->curUser->last_post > 0) {
- if (1 === $this->user->g_search) {
+ if (
+ 1 === $this->user->g_search
+ && ! $this->user->isBot
+ ) {
$fields['posts'] = [
'class' => ['pline'],
'type' => 'link',
@@ -501,7 +501,10 @@ class Search extends Page
case 'topics':
case 'topics_subscriptions':
case 'forums_subscriptions':
- if (! isset($uid)) {
+ ! isset($uid)
+ || $this->user->isBot
break;
}