aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-06 01:05:09 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-06 01:05:09 +0000
commit9dc42a9254fe971e8d4765a62ee83bc70a1d2fb7 (patch)
tree8917234cd8112db765d7947141643e4f2db73413 /engine/classes
parentdcc504978e665d164a2533196f707914cf841518 (diff)
downloadelgg-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/classes')
-rw-r--r--engine/classes/ElggPluginPackage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggPluginPackage.php b/engine/classes/ElggPluginPackage.php
index fd54ff731..422f777b9 100644
--- a/engine/classes/ElggPluginPackage.php
+++ b/engine/classes/ElggPluginPackage.php
@@ -221,7 +221,7 @@ class ElggPluginPackage {
}
// make sure nothing is providing something it conflicts or requires.
- if ($dep['name'] == $name) {
+ if (isset($dep['name']) && $dep['name'] == $name) {
$version_compare = version_compare($provide['version'], $dep['version'], $dep['comparison']);
if ($version_compare) {