Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

Commit

Permalink
Bugfix for when there is no ARP on import.
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy Baukema committed May 13, 2015
1 parent e896e95 commit e0068fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/importentity.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@
function janus_array_diff_recursive($array1, $array2)
{
$diff = array();
if (empty($array1)) {
return $diff;
}

foreach ($array1 as $key => $value) {
if (is_array($array2) && array_key_exists($key, $array2)) {
if (is_array($value)) {
Expand Down

0 comments on commit e0068fe

Please sign in to comment.