Project

General

Profile

« Previous | Next » 

Revision 4864d7f6

Added by Josh Soref over 2 years ago

Spelling fixes. Fix #13357

Bugs:
  • Incorrect input validation for `dhcp6c` `keyinfo expire` `forever` keyword in `interfaces.inc`.
  • Incorrect input validation for associated rule's `Source Port` in `firewall_rules_edit.php`.
  • Incorrect `voucher*.` file lock reference in `status_captiveportal_voucher_rolls.php`.
  • Incorrect separator variable reference in `firewall_rules.php`.
  • Invalid CSS property in `Compact-RED.css`.

View differences:

src/etc/inc/notices.inc
49 49
	'cosmic' => 'Cosmic',
50 50
	'falling' => 'Falling',
51 51
	'gamelan' => 'Gamelan',
52
	'incoming' => 'Incomming',
52
	'incoming' => 'Incoming',
53 53
	'intermission' => 'Intermission',
54 54
	'magic' => 'Magic',
55 55
	'mechanical' => 'Mechanical',
......
252 252
	while(true) {
253 253
		$notifyqueue_lck = lock("notifyqueue", LOCK_EX);
254 254
		$nothing_done_count++;
255
		$smptcount = 0;
255
		$smtpcount = 0;
256 256
		$messages = array();
257 257
		if (file_exists("{$g['vardb_path']}/notifyqueue.messages")) {
258 258
			$messages = unserialize(file_get_contents("{$g['vardb_path']}/notifyqueue.messages"));
......
269 269
			foreach($messagequeue['mails']['item'] as $mail) {
270 270
				switch ($mail['type']) {
271 271
					case 'mail':
272
						$smptcount++;
272
						$smtpcount++;
273 273
						$smtpmessage .= "\r\n" . date("G:i:s",$mail['time']) . " " . $mail['msg'];
274 274
						break;
275 275
					default:
......
277 277
				}
278 278
			}
279 279
			if (!empty($smtpmessage)) {
280
				$smtpmessageheader = sprintf(gettext("Notifications in this message: %s"), $smptcount);
280
				$smtpmessageheader = sprintf(gettext("Notifications in this message: %s"), $smtpcount);
281 281
				$smtpmessageheader .= "\n" . str_repeat('=', strlen($smtpmessageheader)) . "\n";
282 282
				$nothing_done_count = 0;
283 283
				notify_via_smtp($smtpmessageheader . $smtpmessage, true);

Also available in: Unified diff