mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update vars.php
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
$text = $language->get();
|
||||
|
||||
//toggle enabled state
|
||||
if (is_uuid($_REQUEST['id']) && (strtolower($_REQUEST['enabled']) == 'true' || strtolower($_REQUEST['enabled']) == 'false') {
|
||||
if (is_uuid($_REQUEST['id']) && (strtolower($_REQUEST['enabled']) == 'true' || strtolower($_REQUEST['enabled']) == 'false')) {
|
||||
//build array
|
||||
$array['vars'][0]['var_uuid'] = $_REQUEST['id'];
|
||||
$array['vars'][0]['var_enabled'] = strtolower($_REQUEST['enabled']);
|
||||
@@ -204,4 +204,4 @@
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user