Make variables non static
This commit is contained in:
@@ -38,7 +38,7 @@ class Channel extends ChannelModule
|
||||
|
||||
$o = '';
|
||||
if (!empty($request['force'])) {
|
||||
if ($this->timeline->isChannel(self::$selectedTab)) {
|
||||
if ($this->timeline->isChannel($this->selectedTab)) {
|
||||
$items = $this->getChannelItems();
|
||||
} else {
|
||||
$items = $this->getCommunityItems();
|
||||
|
||||
@@ -65,7 +65,7 @@ class Network extends NetworkModule
|
||||
$conditionFields['unseen'] = true;
|
||||
}
|
||||
|
||||
$params = ['limit' => self::$itemsPerPage];
|
||||
$params = ['limit' => $this->itemsPerPage];
|
||||
$table = 'network-thread-view';
|
||||
|
||||
$items = $this->getItems($table, $params, $conditionFields);
|
||||
|
||||
Reference in New Issue
Block a user