aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 14:39:27 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-01 14:39:27 +0000
commitf0c2428e28c77777292d38e43c14435db5ed28bb (patch)
tree803c4f37fea5b90a6ef7b2dd49163801e0ab4862 /engine/lib
parentc8b0cb85b128b91f580db830b56311799905b2fe (diff)
downloadelgg-f0c2428e28c77777292d38e43c14435db5ed28bb.tar.gz
elgg-f0c2428e28c77777292d38e43c14435db5ed28bb.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* BUGFIX: Typo git-svn-id: https://code.elgg.org/elgg/trunk@596 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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 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);