aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-25 17:58:26 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-25 17:58:26 +0000
commit1feb73166aae32c77db23812802f995cdcb34358 (patch)
treeb4f13701bf4412c56a11c5d1b1d47839b00ad3a6 /engine
parentca9242add1184021d51e5488580e0d722d089e2a (diff)
downloadelgg-1feb73166aae32c77db23812802f995cdcb34358.tar.gz
elgg-1feb73166aae32c77db23812802f995cdcb34358.tar.bz2
Small ownership tweak to get_tags
git-svn-id: https://code.elgg.org/elgg/trunk@1132 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/tags.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/tags.php b/engine/lib/tags.php
index ee770b492..37b021bde 100644
--- a/engine/lib/tags.php
+++ b/engine/lib/tags.php
@@ -93,6 +93,7 @@
$entity_subtype = get_subtype_id($entity_type, $entity_subtype);
$entity_type = sanitise_string($entity_type);
+ if ($owner_guid != "")
if (is_array($owner_guid)) {
foreach($owner_guid as $key => $val)
$owner_guid[$key] = (int) $val;