r1810 + getImplicitTags(): don't return excessive info for the found tags
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 21 Mar 2008 22:52:18 +0000 (22:52 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Fri, 21 Mar 2008 22:52:18 +0000 (22:52 +0000)
inc/functions.php

index 063c0f34325e6c9e9b788de779d12ef5261d7b35..574f785313d71ecdbd93c16a86a2d2c2066806bf 100644 (file)
@@ -1414,7 +1414,7 @@ function getImplicitTags ($oldtags)
                        }
                if ($already_exists)
                        continue;
-               $ret[] = $newtag;
+               $ret[] = array ('id' => $newtag['id'], 'tag' => $newtag['tag'], 'parent_id' => $newtag['parent_id']);
        }
        return $ret;
 }