Skip to content

Commit

Permalink
- fix deprecated function in php 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cvs committed Nov 6, 2022
1 parent da0d115 commit ec51d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroffer-state.php
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ function write_table( )
echo '<td title="'.$label.'">'.$this->total[ 'version' ]."</td></tr>\n";

$this->total[ 'uptimetext' ] = seconds_to_text( $this->total[ 'uptime' ] );
$this->total[ 'timetext' ] = strftime('%d.%m.%Y %H:%M', $this->total[ 'time' ] );
$this->total[ 'timetext' ] = date('d.m.Y H:M', $this->total[ 'time' ] );

foreach ( $this->statistik as $skey => $sdata) {
if ( !isset( $this->total[ $skey ] ) )
Expand Down

0 comments on commit ec51d2a

Please sign in to comment.