mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-01 09:43:50 +00:00
Update device_edit.php
This commit is contained in:
@@ -295,6 +295,11 @@
|
||||
$save = true;
|
||||
}
|
||||
|
||||
//set the device_enabled_date
|
||||
if ($_POST["device_enabled"] == "true") {
|
||||
$_POST["device_enabled_date"] = 'now()';
|
||||
}
|
||||
|
||||
//prepare the array
|
||||
$array['devices'][] = $_POST;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user