diff --git a/src/applications/pholio/xaction/PholioImageFileTransaction.php b/src/applications/pholio/xaction/PholioImageFileTransaction.php index e18fca28e2..ce1a0e9773 100644 --- a/src/applications/pholio/xaction/PholioImageFileTransaction.php +++ b/src/applications/pholio/xaction/PholioImageFileTransaction.php @@ -110,9 +110,11 @@ final class PholioImageFileTransaction $new_phids = $value; $file_phids = array(); - foreach ($new_phids as $phid) { - $file_phids[] = $editor->loadPholioImage($object, $phid) - ->getFilePHID(); + foreach ($new_phids as $phids) { + foreach ($phids as $phid) { + $file_phids[] = $editor->loadPholioImage($object, $phid) + ->getFilePHID(); + } } return $file_phids;