diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2014-03-05 21:58:46 +0000 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2014-03-05 21:58:46 +0000 |
commit | 0e80bb5e347ff00c6f81627d8e39dafaaa923bc5 (patch) | |
tree | 19e8450aeef463ffe7278e3fb5e8888940113b4a /inc/actions.php | |
parent | 17dd401e94c682034b7f3d9164ac3523ab01d825 (diff) | |
download | rpg-0e80bb5e347ff00c6f81627d8e39dafaaa923bc5.tar.gz rpg-0e80bb5e347ff00c6f81627d8e39dafaaa923bc5.tar.bz2 |
use empty() where array values might not be set
Diffstat (limited to 'inc/actions.php')
-rw-r--r-- | inc/actions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php index 4dbad1a32..240dce59a 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -733,7 +733,7 @@ function act_subscription($act){ } // any action given? if not just return and show the subscription page - if(!$params['action'] || !checkSecurityToken()) return $act; + if(empty($params['action']) || !checkSecurityToken()) return $act; // Handle POST data, may throw exception. trigger_event('ACTION_HANDLE_SUBSCRIBE', $params, 'subscription_handle_post'); |