Commit Graph

14 Commits

Author SHA1 Message Date
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