aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-01 14:15:22 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-01 14:15:22 -0500
commit6a5476224cb3d351405eb1b7c5edcc04d5b47104 (patch)
tree4a6dc7d0cc2c4dafc6a2e65f94e99359d1de7093 /engine/lib/plugins.php
parent51229ebc6691f8edb17a5f15328aa626eabc09fc (diff)
downloadelgg-6a5476224cb3d351405eb1b7c5edcc04d5b47104.tar.gz
elgg-6a5476224cb3d351405eb1b7c5edcc04d5b47104.tar.bz2
Fixes #3992 fixed notice when loading plugins for first time
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r--engine/lib/plugins.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index be871d025..026bc171b 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -439,9 +439,9 @@ function elgg_set_plugin_priorities(array $order) {
}
}
- // set the missing plugins priorities
+ // set the missing plugins' priorities
if ($return && $missing_plugins) {
- if (!$priority) {
+ if (!isset($priority)) {
$priority = 0;
}
foreach ($missing_plugins as $plugin) {