Skip to content

Commit

Permalink
Updated EE_Event.class.php (missed in previous commit)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pebblo committed Jan 29, 2025
1 parent f8faead commit 7e2bfaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/db_classes/EE_Event.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public function datetimes_in_chronological_order(): array

/**
* Gets all the datetimes for this event, ordered by the DTT_order on the datetime.
* @darren, we should probably UNSET timezone on the EEM_Datetime model
* @todo We should probably UNSET timezone on the EEM_Datetime model
* after running our query, so that this timezone isn't set for EVERY query
* on EEM_Datetime for the rest of the request, no?
*
Expand Down Expand Up @@ -547,7 +547,7 @@ public function visible_on(): string
*/
public function wp_user(): int
{
return $this->get('EVT_wp_user');
return (int) $this->get('EVT_wp_user');
}


Expand Down Expand Up @@ -1244,7 +1244,7 @@ public function pretty_active_status(bool $echo = true): string
{
$active_status = $this->get_active_status();
$status = "
<span class='ee-status ee-status-bg--$active_status event-active-status-$active_status'>
<span class='event-active-status event-active-status-$active_status ee-status ee-status-bg--$active_status'>
" . EEH_Template::pretty_status($active_status, false, 'sentence') . "
</span >";
if ($echo) {
Expand Down

0 comments on commit 7e2bfaa

Please sign in to comment.