Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13984973
D7536.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
811 B
Referenced Files
None
Subscribers
None
D7536.id.diff
View Options
Index: src/applications/pholio/editor/PholioMockEditor.php
===================================================================
--- src/applications/pholio/editor/PholioMockEditor.php
+++ src/applications/pholio/editor/PholioMockEditor.php
@@ -287,9 +287,12 @@
case PholioTransactionType::TYPE_DESCRIPTION:
return $v;
case PholioTransactionType::TYPE_IMAGE_REPLACE:
- if ($u->getNewValue() == $v->getOldValue()) {
+ $u_img = $u->getNewValue();
+ $v_img = $v->getNewValue();
+ if ($u_img->getReplacesImagePHID() == $v_img->getReplacesImagePHID()) {
return $v;
}
+ break;
case PholioTransactionType::TYPE_IMAGE_FILE:
return $this->mergePHIDOrEdgeTransactions($u, $v);
case PholioTransactionType::TYPE_IMAGE_NAME:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 21, 5:16 PM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6739731
Default Alt Text
D7536.id.diff (811 B)
Attached To
Mode
D7536: Pholio - fix a bug replacing multiple images
Attached
Detach File
Event Timeline
Log In to Comment