diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-09-11 14:10:58 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-09-11 14:10:58 +0000 |
commit | 0858ba7f72c5cf5626898b81429b2f88911b9dfb (patch) | |
tree | 2d6ccf13e511323c93e9be8b57fca6821f4ad16b | |
parent | c8a27226eef8e7e492450e39ae972e1ec11ee410 (diff) | |
download | semanticscuttle-0858ba7f72c5cf5626898b81429b2f88911b9dfb.tar.gz semanticscuttle-0858ba7f72c5cf5626898b81429b2f88911b9dfb.tar.bz2 |
Bug fix: renametag function corrected (thank you Andreas)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@144 b3834d28-1941-0410-a4f8-b48e95affb8f
-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'); |