aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index a2d3bf48e..8a73b381a 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -845,7 +845,7 @@
if ($type != "")
$where[] = "type='$type'";
- if ($subtype !== "")
+ if ($subtype)
$where[] = "subtype=$subtype";
if ($owner_guid != "") {
if (!is_array($owner_guid)) {