Project

General

Profile

« Previous | Next » 

Revision 3409b0f6

Added by Steve Beaver over 6 years ago

Minor fixes related to #9121

(cherry picked from commit 6f9729c0a53be67ced6d52e6e33dba6b237083ab)

View differences:

src/etc/rc.filter_synchronize
354 354
		$sections[] = 'voucher';
355 355
	}
356 356

  
357
	if (count($sections) <= 0) {
357
	if (is_array($sections) && count($sections) <= 0) {
358 358
		log_error("Nothing has been configured to be synched. Skipping....");
359 359
		return;
360 360
	}
src/usr/local/www/services_dnsmasq_domainoverride_edit.php
66 66
			return (substr($haystack, 0, strlen($needle)) == $needle);
67 67
		}
68 68

  
69
		if (String_Begins_With(_msdcs, $_POST['domain'])) {
69
		if (String_Begins_With('_msdcs', $_POST['domain'])) {
70 70
			$subdomainstr = substr($_POST['domain'], 7);
71 71

  
72 72
			if ($subdomainstr && !is_domain($subdomainstr)) {
src/usr/local/www/system_advanced_admin.php
660 660

  
661 661
$section->addInput(new Form_Button(
662 662
	'addrow',
663
	'Add whitelist',
663
	'Add address',
664 664
	null,
665 665
	'fa-plus'
666 666
))->addClass('btn-success addbtn');

Also available in: Unified diff