Skip to content
Snippets Groups Projects
Commit 9fa341d0 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

check for user in act_subscription FS#1935

parent c9f1352e
No related branches found
No related tags found
No related merge requests found
......@@ -596,6 +596,9 @@ function act_subscription($act){
global $INFO;
global $ID;
// subcriptions work for logged in users only
if(!$_SERVER['REMOTE_USER']) return 'show';
// get and preprocess data.
$params = array();
foreach(array('target', 'style', 'action') as $param) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment