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
This commit is contained in:
mensonge 2008-09-11 14:10:58 +00:00
parent c8a27226ee
commit 0858ba7f72
2 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ class TagService {
$query.= ' WHERE tag="'.$oldName.'"'; $query.= ' WHERE tag="'.$oldName.'"';
$query.= ' AND uId="'.$uId.'"'; $query.= ' AND uId="'.$uId.'"';
$this->db->sql_query($query); $this->db->sql_query($query);
return true;
} }

View File

@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
require_once('header.inc.php'); require_once('header.inc.php');
$b2tservice = & ServiceFactory :: getServiceInstance('Bookmark2TagService'); $b2tservice = & ServiceFactory :: getServiceInstance('Bookmark2TagService');
$tagservice = & ServiceFactory :: getServiceInstance('TagService');
$tag2tagservice = & ServiceFactory :: getServiceInstance('Tag2tagService'); $tag2tagservice = & ServiceFactory :: getServiceInstance('Tag2tagService');
$templateservice = & ServiceFactory :: getServiceInstance('TemplateService'); $templateservice = & ServiceFactory :: getServiceInstance('TemplateService');
$userservice = & ServiceFactory :: getServiceInstance('UserService'); $userservice = & ServiceFactory :: getServiceInstance('UserService');