Page MenuHomePhabricator

D21752.id51850.diff
No OneTemporary

D21752.id51850.diff

diff --git a/src/applications/project/storage/PhabricatorProject.php b/src/applications/project/storage/PhabricatorProject.php
--- a/src/applications/project/storage/PhabricatorProject.php
+++ b/src/applications/project/storage/PhabricatorProject.php
@@ -407,7 +407,7 @@
$this->setMailKey(Filesystem::readRandomCharacters(20));
}
- if (!strlen($this->getPHID())) {
+ if (!$this->getPHID() || !strlen($this->getPHID())) {
$this->setPHID($this->generatePHID());
}

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 3, 8:49 AM (3 d, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7730241
Default Alt Text
D21752.id51850.diff (497 B)

Event Timeline