summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-12-19 00:13:37 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-12-19 00:13:37 +0000
commit36fae20d937c53ad97e0130a959a7401b3c1c0ad (patch)
tree3c662278d519755e4fcdff8f4939ca90a5b46a2c
parent3cae6838170fc79f7d367bcb017b67e91620c54c (diff)
downloadsemanticscuttle-36fae20d937c53ad97e0130a959a7401b3c1c0ad.tar.gz
semanticscuttle-36fae20d937c53ad97e0130a959a7401b3c1c0ad.tar.bz2
Bug fix: correct cache behaviour
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@208 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--services/tag2tagservice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/tag2tagservice.php b/services/tag2tagservice.php
index 9d94e2c..01df423 100644
--- a/services/tag2tagservice.php
+++ b/services/tag2tagservice.php
@@ -146,7 +146,7 @@ class Tag2TagService {
}
// and save in cache
- if($activatedCache == true) {
+ if($activatedCache == true && $uId>0) {
$tcs->updateTag($tag1, $relationType, $output, $uId);
}