The data structure is already a stdClass object, so add a property,

not a key (partially fixes issue 568)
This commit is contained in:
Thomas Keller 2010-11-17 19:08:41 +01:00
parent deb1ea4d2b
commit 35e670a1ab

View File

@ -437,7 +437,7 @@ class IDF_Scm_Git extends IDF_Scm
$out[0]->changes = '';
}
$out[0]['branch'] = $this->inBranches($commit, null);
$out[0]->branch = $this->inBranches($commit, null);
return $out[0];
}