diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-06 01:05:09 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-06 01:05:09 +0000 |
commit | 9dc42a9254fe971e8d4765a62ee83bc70a1d2fb7 (patch) | |
tree | 8917234cd8112db765d7947141643e4f2db73413 /engine/lib/metadata.php | |
parent | dcc504978e665d164a2533196f707914cf841518 (diff) | |
download | elgg-9dc42a9254fe971e8d4765a62ee83bc70a1d2fb7.tar.gz elgg-9dc42a9254fe971e8d4765a62ee83bc70a1d2fb7.tar.bz2 |
Fixes #2774 - fixes several E_NOTICE issues - mostly due to accessign array indexes
git-svn-id: http://code.elgg.org/elgg/trunk@7844 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r-- | engine/lib/metadata.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index c15a163b7..0ae576328 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -854,7 +854,7 @@ $owner_guids = NULL) { } if (is_array($order_by_metadata)) { - if ((count($order_by_metadata) > 0) && !is_array($order_by_metadata[0])) { + if ((count($order_by_metadata) > 0) && !isset($order_by_metadata[0])) { // singleton, so fix $order_by_metadata = array($order_by_metadata); } |