Page MenuHomePhabricator

Differential - fix bogus foreach(null)
ClosedPublic

Authored by btrahan on Oct 13 2014, 5:31 PM.
Tags
None
Referenced Files
F18889682: D10697.id.diff
Fri, Nov 7, 8:51 AM
F18857623: D10697.diff
Sat, Nov 1, 4:33 PM
F18851774: D10697.id.diff
Fri, Oct 31, 4:02 AM
F18789039: D10697.id25685.diff
Oct 15 2025, 7:40 AM
F18688923: D10697.diff
Sep 26 2025, 5:20 PM
F18672781: D10697.id.diff
Sep 25 2025, 8:12 AM
F18672780: D10697.id25685.diff
Sep 25 2025, 8:12 AM
F18672777: D10697.id25673.diff
Sep 25 2025, 8:12 AM
Subscribers

Details

Summary

Default $phids to array() and update it if getValue() has something pertinent... Fixes T6292.

Test Plan

just used the ole logic noodle on this one.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan retitled this revision from to Differential - fix bogus foreach(null).
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added reviewers: epriestley, chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Oct 13 2014, 6:11 PM
epriestley edited edge metadata.

$this->getValue() should probably never not be an array, buuut whatevs.

This revision was automatically updated to reflect the committed changes.