diff options
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r-- | engine/lib/entities.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index b040ab150..7bc1d4cda 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -2327,7 +2327,7 @@ function get_entity_dates($type = '', $subtype = '', $container_guid = 0, $site_ if (!$subtype_id = get_subtype_id($type, $subtype)) { return FALSE; } else { - $where[] = "subtype=$subtype"; + $where[] = "subtype=$subtype_id"; } } } |