mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +02:00
attachment name rule fix
This commit is contained in:
@ -51,7 +51,7 @@ class ControllerPolicyArchiving extends Controller {
|
||||
private function validate() {
|
||||
if($this->request->post['from'] == '' && $this->request->post['to'] == '' &&
|
||||
$this->request->post['subject'] == '' && $this->request->post['size'] == '' &&
|
||||
$this->request->post['attachment_type'] == '' && $this->request->post['attachment_size'] == '' &&
|
||||
$this->request->post['attachment_name'] == '' && $this->request->post['attachment_type'] == '' && $this->request->post['attachment_size'] == '' &&
|
||||
$this->request->post['spam'] == -1
|
||||
) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user