Skip to content

Commit

Permalink
Merge branch 'craigk5n:master' into php
Browse files Browse the repository at this point in the history
  • Loading branch information
bbannon authored Jul 29, 2024
2 parents 5c31cd2 + 3ab2e0f commit daf74df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions category.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@

</div>
<div class="modal-footer">
<button class="btn btn-default" id="modalclosebtn" data-dismiss="modal"'
. ' type="button">' . translate ( 'Close' ) . '</button>
<button class="btn btn-default" id="modalclosebtn" data-dismiss="modal"
type="button"><?php etranslate ( 'Close' ); ?></button>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Event {
/**
* The event's dueDate.
*/
private string $_dueDate;
private ?string $_dueDate;
/**
* The event's dueTime.
*/
Expand Down
1 change: 1 addition & 0 deletions includes/dbi4php.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ function dbi_query( $sql, $fatalOnError = true, $showError = true ) {
} elseif( strcmp( $GLOBALS['db_type'], 'mysqli' ) == 0 ) {
$found_db_type = true;
try {
$GLOBALS['db_connection']->select_db($db_connection_info['database']);
$res = $GLOBALS['db_connection']->query( $sql );
} catch (Exception $e) {
$res = false;
Expand Down

0 comments on commit daf74df

Please sign in to comment.