Skip to content

Commit

Permalink
fix in qtranxf_array_compare
Browse files Browse the repository at this point in the history
  • Loading branch information
johnclause committed Apr 27, 2016
1 parent e4edce0 commit 56bd487
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/qtx_admin_utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ function qtranxf_array_compare($a,$b) {
if( !is_array($a) || !is_array($b) ) return false;
if(count($a) != count($b)) return false;
foreach($a as $k => $v){
if(!isset($b[$k])) return false;
if(is_array($v)){
if(!qtranxf_array_compare($v,$b[$k])) return false;
}else{
Expand Down

0 comments on commit 56bd487

Please sign in to comment.