aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/classes/ElggPriorityList.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggPriorityList.php b/engine/classes/ElggPriorityList.php
index 17ce228bc..aa33831ff 100644
--- a/engine/classes/ElggPriorityList.php
+++ b/engine/classes/ElggPriorityList.php
@@ -171,7 +171,7 @@ class ElggPriorityList
$new_priority = (int) $new_priority;
$current_priority = $this->getPriority($element, $strict);
- if (!$current_priority) {
+ if ($current_priority === false) {
return false;
}