projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78fe145
)
notice fix
author
deb.monish
<monish.deb@webaccessglobal.com>
Mon, 14 Mar 2016 10:56:30 +0000
(16:26 +0530)
committer
deb.monish
<monish.deb@webaccessglobal.com>
Mon, 14 Mar 2016 10:56:30 +0000
(16:26 +0530)
CRM/Utils/Array.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Array.php
b/CRM/Utils/Array.php
index 17fc32963be70b71f824b90dcf4b04018c39374a..0ac816af053b5785bfe8b2a1eb717ff25df1dfc0 100644
(file)
--- a/
CRM/Utils/Array.php
+++ b/
CRM/Utils/Array.php
@@
-1034,6
+1034,9
@@
class CRM_Utils_Array {
* @return void
*/
public static function formatArrayKeys(&$array) {
+ if (!is_array($array)) {
+ return;
+ }
$keys = array_keys($array, 1);
if (count($keys) > 1 ||
(count($keys) == 1 &&