diff --git a/php/libraries/NDB_BVL_Feedback.class.inc b/php/libraries/NDB_BVL_Feedback.class.inc index 5259cc3fd68..be148b79dfa 100644 --- a/php/libraries/NDB_BVL_Feedback.class.inc +++ b/php/libraries/NDB_BVL_Feedback.class.inc @@ -390,7 +390,7 @@ class NDB_BVL_Feedback $query .= " ORDER BY Status ASC"; $result = $db->pselectOne($query, $qparams); - if (isset($result)) { + if (!empty($result)) { return $result; } return null;