Skip to content

Commit

Permalink
Bug fixes #484: for PHP8 deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
craigk5n committed Sep 3, 2024
1 parent 441128a commit c8f10bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -766,12 +766,12 @@ function save_pref ( $prefs, $src ) {
<div class="form-inline mt-1 mb-2"><label title="' . tooltip ( 'email-smtp-username' ) . '">'
. translate ( 'SMTP Username' )
. ':</label><input type="text" size="30" name="admin_SMTP_USERNAME" value="'
. ( $s['SMTP_USERNAME'] ?: '' )
. ( $s['SMTP_USERNAME'] ??= '' )
. '"></div>
<div class="form-inline mt-1 mb-2"><label title="' . tooltip ( 'email-smtp-password' ) . '">'
. translate ( 'SMTP Password' )
. ':</label><input type="text" size="30" name="admin_SMTP_PASSWORD" value="'
. ( $s['SMTP_PASSWORD'] ?: '' )
. ( $s['SMTP_PASSWORD'] ??= '' )
. '"></div>
</div>
</div>
Expand Down
7 changes: 7 additions & 0 deletions includes/classes/RptEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,18 @@ class RepeatingEvent extends Event {
* @access private
*/
var $_repeatEndDateTime;
/**
* The UNIX timestamp for the end date/time of the repetition.
* @var int
* @access private
*/
var $_repeatEndDateTimeTS;
/**
* The frequency of the repetition.
* @var int
* @access private
*/

var $_repeatFrequency;
/**
* The days each week the event occurs
Expand Down

0 comments on commit c8f10bc

Please sign in to comment.