diff options
author | 2008-05-10 08:59:41 +0000 | |
---|---|---|
committer | 2008-05-10 08:59:41 +0000 | |
commit | 2756e3f85818346a478725b6dd94a966e0d92c07 (patch) | |
tree | efad4c6566773670dc5f9a8b733f2a3ed3fe4a57 /tag2tagadd.php | |
parent | e273c0d367da161651324eca1b7e4177c670c91f (diff) | |
download | scuttle-2756e3f85818346a478725b6dd94a966e0d92c07.tar.gz scuttle-2756e3f85818346a478725b6dd94a966e0d92c07.zip |
Bug fixes: correct minor bugs appearing with 'notice' level in PHP
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@122 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'tag2tagadd.php')
-rw-r--r-- | tag2tagadd.php | 4 |
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(); |