diff options
-rw-r--r-- | services/tagservice.php | 1 | ||||
-rw-r--r-- | tagrename.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/services/tagservice.php b/services/tagservice.php index fbb7fa3..47f82d6 100644 --- a/services/tagservice.php +++ b/services/tagservice.php @@ -72,6 +72,7 @@ class TagService { $query.= ' WHERE tag="'.$oldName.'"'; $query.= ' AND uId="'.$uId.'"'; $this->db->sql_query($query); + return true; } diff --git a/tagrename.php b/tagrename.php index de0f77f..29b44fb 100644 --- a/tagrename.php +++ b/tagrename.php @@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA require_once('header.inc.php'); $b2tservice = & ServiceFactory :: getServiceInstance('Bookmark2TagService'); +$tagservice = & ServiceFactory :: getServiceInstance('TagService'); $tag2tagservice = & ServiceFactory :: getServiceInstance('Tag2tagService'); $templateservice = & ServiceFactory :: getServiceInstance('TemplateService'); $userservice = & ServiceFactory :: getServiceInstance('UserService'); |