@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Return empty array as a default value for repository symbol languages

Summary: Fixes T8283. The code in `FileController` assumes this value is an array.

Test Plan: Loaded any file in Diffusion in unconfigured repository, no more warning.

Reviewers: avivey, joshuaspence, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8283

Differential Revision: https://secure.phabricator.com/D12964

+2 -2
+2 -2
src/applications/repository/storage/PhabricatorRepository.php
··· 1781 1781 /* -( Symbols )-------------------------------------------------------------*/ 1782 1782 1783 1783 public function getSymbolSources() { 1784 - return $this->getDetail('symbol-sources'); 1784 + return $this->getDetail('symbol-sources', array()); 1785 1785 } 1786 1786 1787 1787 public function getSymbolLanguages() { 1788 - return $this->getDetail('symbol-languages'); 1788 + return $this->getDetail('symbol-languages', array()); 1789 1789 } 1790 1790 1791 1791