mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update default_setting_edit.php
This commit is contained in:
@@ -80,8 +80,12 @@
|
||||
}
|
||||
|
||||
//sanitize the variables
|
||||
$search = preg_replace('#[^a-zA-Z0-9_\-\. ]#', '', $search);
|
||||
$default_setting_category = preg_replace('#[^a-zA-Z0-9_\-\. ]#', '', $default_setting_category);
|
||||
if (!empty($search)) {
|
||||
$search = preg_replace('#[^a-zA-Z0-9_\-\. ]#', '', $search);
|
||||
}
|
||||
if (!empty($domain_setting_category)) {
|
||||
$default_setting_category = preg_replace('#[^a-zA-Z0-9_\-\. ]#', '', $default_setting_category);
|
||||
}
|
||||
|
||||
//build the query string
|
||||
$query_string = '';
|
||||
|
||||
Reference in New Issue
Block a user