Misc fixes
This commit is contained in:
@@ -20,7 +20,7 @@ class Controller_User_Ssl extends Controller_Ssl {
|
||||
|
||||
public function action_add() {
|
||||
if ($this->request->post() OR $_FILES) {
|
||||
if ($_FILES AND $this->request->post('csr'))
|
||||
if ((isset($_FILES['csr_file']['tmp_name']) AND $_FILES['csr_file']['tmp_name']) AND $this->request->post('csr'))
|
||||
SystemMessage::add(array(
|
||||
'title'=>_('Validation failed'),
|
||||
'type'=>'info',
|
||||
|
Reference in New Issue
Block a user