1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 17:30:59 +01:00

Fix a variable being incorrectly overridden in Asana sync.

Auditors: btrahan
This commit is contained in:
epriestley 2013-07-21 13:40:20 -07:00
parent 215da7728f
commit d446ee0207

View file

@ -85,8 +85,8 @@ final class DoorkeeperBridgeAsana extends DoorkeeperBridge {
foreach ($refs as $ref) {
$ref->setAttribute('name', pht('Asana Task %s', $ref->getObjectID()));
$failed = idx($failed, $ref->getObjectKey());
if ($failed) {
$did_fail = idx($failed, $ref->getObjectKey());
if ($did_fail) {
$ref->setSyncFailed(true);
continue;
}