Page MenuHomePhabricator

D20517.diff
No OneTemporary

D20517.diff

diff --git a/src/applications/project/controller/PhabricatorProjectController.php b/src/applications/project/controller/PhabricatorProjectController.php
--- a/src/applications/project/controller/PhabricatorProjectController.php
+++ b/src/applications/project/controller/PhabricatorProjectController.php
@@ -109,7 +109,11 @@
} else {
switch ($mode) {
case 'workboard':
- $crumb_uri = $ancestor->getWorkboardURI();
+ if ($ancestor->getHasWorkboard()) {
+ $crumb_uri = $ancestor->getWorkboardURI();
+ } else {
+ $crumb_uri = $ancestor->getProfileURI();
+ }
break;
case 'profile':
default:

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 12:27 AM (20 h, 24 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6780354
Default Alt Text
D20517.diff (743 B)

Event Timeline