aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/entities.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index a85596d8a..ebb176feb 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1386,6 +1386,8 @@
{
global $CONFIG;
+ if (!$guid) return false;
+
$guid = (int) $guid;
$row = retrieve_cached_entity_row($guid);