mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 05:41:52 +09:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
241dea2c8e
2 files changed
+4
-3
No files matched your search
@@ -16,6 +16,7 @@
|
||||
[](https://opensource.org/licenses/Apache-2.0)
|
||||
[](https://scrutinizer-ci.com/g/boxbilling/boxbilling/?branch=master)
|
||||
[](https://www.codefactor.io/repository/github/boxbilling/boxbilling)
|
||||
[](https://huntr.dev)
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ class Client extends \Api_Abstract
|
||||
);
|
||||
$this->di['validator']->checkRequiredParamsForArray($required, $data);
|
||||
|
||||
$data[content] = preg_replace('/javascript:\/\/|\%0(d|a)/i', '', $data[content]);
|
||||
$data['content'] = preg_replace('/javascript:\/\/|\%0(d|a)/i', '', $data['content']);
|
||||
|
||||
$helpdesk = $this->di['db']->getExistingModelById('SupportHelpdesk', $data['support_helpdesk_id'], 'Helpdesk invalid');
|
||||
|
||||
@@ -120,7 +120,7 @@ class Client extends \Api_Abstract
|
||||
);
|
||||
$this->di['validator']->checkRequiredParamsForArray($required, $data);
|
||||
|
||||
$data[content] = preg_replace('/javascript:\/\/|\%0(d|a)/i', '', $data[content]);
|
||||
$data['content'] = preg_replace('/javascript:\/\/|\%0(d|a)/i', '', $data['content']);
|
||||
|
||||
$client = $this->getIdentity();
|
||||
|
||||
@@ -162,4 +162,4 @@ class Client extends \Api_Abstract
|
||||
|
||||
return $this->getService()->closeTicket($ticket, $this->getIdentity());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user