Dependencies may be indexed differently
parent
5eb0e0e14c
commit
fb9a84e665
|
@ -1988,8 +1988,7 @@ class H5PCore {
|
||||||
$toHash = array();
|
$toHash = array();
|
||||||
|
|
||||||
// Use unique identifier for each library version
|
// Use unique identifier for each library version
|
||||||
for ($i = 0, $s = count($dependencies); $i < $s; $i++) {
|
foreach ($dependencies as $dep) {
|
||||||
$dep = $dependencies[$i];
|
|
||||||
$toHash[] = "{$dep['machineName']}-{$dep['majorVersion']}.{$dep['minorVersion']}.{$dep['patchVersion']}";
|
$toHash[] = "{$dep['machineName']}-{$dep['majorVersion']}.{$dep['minorVersion']}.{$dep['patchVersion']}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue