Commit Graph

16 Commits

Author SHA1 Message Date
Anthony a001f27730
Update voicemail_imports.php (#6724)
* Update voicemail_imports.php
2023-05-26 16:25:07 -06:00
frytimo fef8165be2
Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
FusionPBX b449bef03e
Use preg_replace instead of escape (#6575)
Escape broke auto matching fields use preg_replace instead.
2023-03-10 09:54:49 -07:00
agree 4c29c3c4cf
[security] import pages xss prevention (#6553) 2023-02-14 15:34:53 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX cf1aad072c
Found a more efficient way to force lower case on boolean values.
Helpful for supporting multiple databases. Make the import safer for users where the value is expected in lower case. Best solution for PostgreSQL is boolean data type but that would still not be a good solution for alternative databases.
2022-06-06 18:11:13 -06:00
FusionPBX 7205c76fba
Force the value to lower case for voicemail_local_after_email, voicemail_tutorial, and voicemail_enabled. 2022-06-06 17:52:34 -06:00
chansizzle b9b389b438
Update voicemail_imports.php (#5352)
start data on row 2
2020-07-15 16:59:54 -06:00
Nate 029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate d3653213f7 Voicemail - Import: Button updates, token integration. 2020-02-12 10:51:01 -07:00
Nate 83b859fd07 Voicemails: Add window titles. 2020-01-06 12:02:38 -07:00
Nate 4effe4c8b5 Voicemails: List view updates. 2019-12-09 17:05:31 -07:00
FusionPBX 53e9ee5683 Update voicemail_imports.php 2019-09-07 01:08:48 -06:00
Nate 32a8d06fa6 Voicemails: Database class integration. 2019-08-17 07:02:58 -06:00
FusionPBX be6da63dcd Update voicemail_imports.php 2018-09-28 12:18:25 -06:00
FusionPBX 09a0c7bf65 Create voicemail_imports.php 2018-09-28 12:02:37 -06:00