1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 17:28:51 +02:00

Fix an issue with AlamancDeviceEditor

Summary: This got removed by accident in D12933.

Test Plan: Editing names works now.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D13144
This commit is contained in:
epriestley 2015-06-03 18:41:21 -07:00
parent 0b87e462cd
commit 8928aa2b67

View file

@ -67,6 +67,7 @@ final class AlmanacDeviceEditor
switch ($xaction->getTransactionType()) { switch ($xaction->getTransactionType()) {
case AlmanacDeviceTransaction::TYPE_NAME: case AlmanacDeviceTransaction::TYPE_NAME:
return;
case AlmanacDeviceTransaction::TYPE_INTERFACE: case AlmanacDeviceTransaction::TYPE_INTERFACE:
$old = $xaction->getOldValue(); $old = $xaction->getOldValue();
if ($old) { if ($old) {