aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}