aboutsummaryrefslogtreecommitdiff
path: root/tag2tagadd.php
diff options
context:
space:
mode:
Diffstat (limited to 'tag2tagadd.php')
-rw-r--r--tag2tagadd.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tag2tagadd.php b/tag2tagadd.php
index bc13b16..935cf88 100644
--- a/tag2tagadd.php
+++ b/tag2tagadd.php
@@ -24,10 +24,12 @@ $tag2tagservice = & ServiceFactory :: getServiceInstance('Tag2TagService');
$templateservice = & ServiceFactory :: getServiceInstance('TemplateService');
$userservice = & ServiceFactory :: getServiceInstance('UserService');
+
+
$logged_on_user = $userservice->getCurrentUser();
//permissions
-if($logged_on_user == null) {
+if($logged_on_user == null) {
$tplVars['error'] = T_('Permission denied.');
$templateservice->loadTemplate('error.500.tpl', $tplVars);
exit();