mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Fix a variable being incorrectly overridden in Asana sync.
Auditors: btrahan
This commit is contained in:
parent
215da7728f
commit
d446ee0207
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue