diff --git a/src/applications/search/engine/PhabricatorProfileMenuEngine.php b/src/applications/search/engine/PhabricatorProfileMenuEngine.php --- a/src/applications/search/engine/PhabricatorProfileMenuEngine.php +++ b/src/applications/search/engine/PhabricatorProfileMenuEngine.php @@ -54,6 +54,7 @@ $custom_phid = $this->getCustomPHID(); break; case self::MODE_GLOBAL: + default: $custom_phid = null; break; }