Commit Graph

18 Commits

Author SHA1 Message Date
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
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
Luis Daniel Lucio Quiroz d7881b7dc5
[4.5] Use INT instead of NUMERIC (#5311) 2020-06-19 09:00:02 -06:00
FusionPBX 44f751453f Update device_copy.php 2019-09-27 00:16:00 -06:00
FusionPBX 3362f73625 Update device_copy.php 2019-09-24 14:02:35 -06:00
FusionPBX 33a6b87b8d Update device_copy.php 2019-08-25 09:09:17 -06:00
FusionPBX 407442bb94 Update device_copy.php 2019-08-25 08:55:28 -06:00
Nate f841650075 Devices: Database class integration. 2019-08-03 20:21:56 -06:00
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
Mafoo 3cab4401cf Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
Mafoo f0feb25016 Enhance - Convert more messages (#2646)
convert more messages to messages class
skipped dashboard messages due to them relying on $_SESSION['message']
to know if there has already been a change
2017-06-08 09:39:04 -06:00
FusionPBX f937f58c8a Update device_copy.php 2016-10-22 23:44:45 -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
Mark Crane c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane e4df8a5ad7 Work on the device copy 2014-05-22 04:37:42 +00:00
Mark Crane fa2dc02528 add copy to the device description when making a copy of a device 2014-04-24 07:16:20 +00:00
Mark Crane 5619145fb0 Prevent device duplicates when making a copy of a device. Allow duplicate empty mac address or 000000000000 to be used for templates. 2014-03-30 07:46:50 +00:00
Mark Crane bb584d403c Add device copy to make it faster to add devices for endpoint provisioning. 2014-02-23 09:33:27 +00:00