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

Fix operator error in Pholio with PHP 7.1

Summary: Fixes T12166. We don't actually need this variable, so removing it.

Test Plan: Upload a new mock, edit a mock, view list of mocks.

Reviewers: epriestley, Mnkras, acs-ferreira

Reviewed By: epriestley, Mnkras, acs-ferreira

Subscribers: acs-ferreira, Korvin

Maniphest Tasks: T12166

Differential Revision: https://secure.phabricator.com/D17260
This commit is contained in:
Chad Little 2017-01-28 15:18:47 +00:00 committed by chad
parent 1be3ef0227
commit 7a947947a3

View file

@ -180,8 +180,6 @@ final class PholioMockImagesView extends AphrontView {
'pholio-mock-view',
$this->getBehaviorConfig());
$mockview = '';
$mock_wrapper = javelin_tag(
'div',
array(
@ -220,7 +218,7 @@ final class PholioMockImagesView extends AphrontView {
),
'');
$mockview[] = phutil_tag(
return phutil_tag(
'div',
array(
'class' => 'pholio-mock-image-container',
@ -228,7 +226,6 @@ final class PholioMockImagesView extends AphrontView {
),
array($mock_wrapper, $inline_comments_holder));
return $mockview;
}
private function getImagePageURI(PholioImage $image, PholioMock $mock) {