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

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen committed May 28, 2016
1 parent cdd346e commit a9bc3c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Datatable/Action/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private function assignArrayByPath(&$arr, $path, $value, $separator = '.')
*
* @return array|bool
*/
private function array_intersect_assoc_recursive($arr1, $arr2)
private function arrayIntersectAssocRecursive($arr1, $arr2)
{
if (!is_array($arr1) || !is_array($arr2)) {
return (string)$arr1 == (string)$arr2;
Expand All @@ -117,7 +117,7 @@ private function array_intersect_assoc_recursive($arr1, $arr2)
$ret = array();

foreach ($commonkeys as $key) {
$res = $this->array_intersect_assoc_recursive($arr1[$key], $arr2[$key]);
$res = $this->arrayIntersectAssocRecursive($arr1[$key], $arr2[$key]);

if ($res) {
$ret[$key] = $arr1[$key];
Expand All @@ -144,7 +144,7 @@ public function isVisible(array $data = array())
if (strpos($key, '.') !== false) {
$array = array();
$this->assignArrayByPath($array, $key, $item);
if (empty($this->array_intersect_assoc_recursive($array, $data))) {
if (empty($this->arrayIntersectAssocRecursive($array, $data))) {
$result = false;
break;
} else {
Expand Down

0 comments on commit a9bc3c8

Please sign in to comment.