diff --git a/inc/actions.php b/inc/actions.php index b447b65e1e9c01d153a835b1c621b155df919a68..5141f1941091bcebe48610aaae4c0a6c80eae37f 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -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) {