Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Cpanel/Service/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,8 @@ protected function arrayType($arr)
);
}
ksort($arr);
$fkey = array_shift(array_keys($arr));
$keys = array_keys($arr);
$fkey = array_shift($keys);
if (is_int($fkey)) {
return self::API1ARGS;
}
Expand Down Expand Up @@ -617,4 +618,4 @@ public function setHash($hash)
return $this;
}
}
?>
?>