FusionPBX
efc332aba7
[Bug FIX] Default Setings fix syntax to get the correct values switch settings.
2023-05-21 15:47:59 -06:00
markjcrane
6d7e125743
Fix all PHP 8.1 messages for upgrade.php
2023-05-17 10:07:49 -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
frytimo
69bd42af05
remove unneeded destruct methods as GC has higher performance ( #6631 )
...
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
markjcrane
fcc9d6186c
Fix the syntax
2022-01-30 13:24:54 -07:00
markjcrane
eda3ddfd28
Use if is_array to prevent a warning
2022-01-30 13:20:51 -07:00
markjcrane
8372fa61f8
change the switch phrases to switch languages
2022-01-30 13:08:49 -07:00
chansizzle
e299031c17
Update switch_settings.php ( #4994 )
2019-12-30 18:35:45 -07:00
Nate
37b5713c4b
Misc Classes: Database class integration.
2019-09-04 06:44:50 -06:00
jalr
49d80dcec3
fix condition ( #2298 )
2017-01-17 10:16:13 -07:00
FusionPBX
d8cf528a50
Update switch_settings.php
2017-01-10 01:18:17 -07:00
FusionPBX
906d432539
Update switch_settings.php
2016-08-03 16:46:44 -06:00
markjcrane
097a5d8ade
Check the missing array has content before processing it.
2016-05-04 00:22:35 -06:00
markjcrane
c3b12c217d
Cleanup the indentation ... tabs and whitespace after the last pull request.
2016-04-28 16:56:44 -06:00
Harry G. Coin
bda6861f88
\r\n --> \n
...
Cause all the .php files containing lines ending with \r\n to instead end with \n.
DYI with:
find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
Harry G. Coin
8abe003a71
The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
...
So, please find in this set numerous small changes which eliminate numerous php warning messages.
Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.
If any of the proposed changes are omitted, the relevant page will experience php warnings.
There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
markjcrane
7a8587184c
If the event socket information is not set then use the defaults.
2016-04-15 18:22:28 -06:00
markjcrane
403ab64339
Add missing 'this'
2016-04-15 18:07:47 -06:00
markjcrane
2b5075b2f4
Add the switch default settings in a more efficient way.
2016-04-15 17:59:34 -06:00
markjcrane
4b55af24f7
Add class_exists
2016-04-14 23:23:14 -06:00
markjcrane
a6cd585315
Update the constructor and $db connection handling in the groups and switch_settings classes.
2016-04-14 22:38:28 -06:00
markjcrane
233fb08d32
Prevent switch duplicates.
2016-04-02 20:28:45 -06:00
markjcrane
2156d17da8
Rename to the switch_settings class.
2016-04-02 20:11:51 -06:00