From f0c2428e28c77777292d38e43c14435db5ed28bb Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 1 May 2008 14:39:27 +0000 Subject: Marcus Povey * BUGFIX: Typo git-svn-id: https://code.elgg.org/elgg/trunk@596 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index a4df6fa02..f3ba92e92 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -665,7 +665,7 @@ $class = sanitise_string($class); // Short circuit if no subtype is given - if ($subtype2 == "") + if ($subtype == "") return 0; $id = get_subtype_id($type, $subtype); -- cgit v1.2.3