Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15332915
D21288.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
621 B
Referenced Files
None
Subscribers
None
D21288.diff
View Options
diff --git a/src/applications/phortune/editor/PhortuneAccountEditor.php b/src/applications/phortune/editor/PhortuneAccountEditor.php
--- a/src/applications/phortune/editor/PhortuneAccountEditor.php
+++ b/src/applications/phortune/editor/PhortuneAccountEditor.php
@@ -63,7 +63,7 @@
}
$actor_phid = $this->getActingAsPHID();
- if (!isset($new[$actor_phid])) {
+ if (isset($old[$actor_phid]) && !isset($new[$actor_phid])) {
$error = new PhabricatorApplicationTransactionValidationError(
$type,
pht('Invalid'),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 8, 10:05 PM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7384634
Default Alt Text
D21288.diff (621 B)
Attached To
Mode
D21288: In Phortune accounts, prevent self-removal more narrowly
Attached
Detach File
Event Timeline
Log In to Comment