Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
Avoid notice when not set
Browse files Browse the repository at this point in the history
In case a custom DB layer has rewritten the SQL query for instance
  • Loading branch information
ozh committed Apr 25, 2015
1 parent fc58318 commit 60193c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yourls-infos.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@

$_last_24h = array();
foreach( (array)$rows as $row ) {
if ( $row->time )
if ( isset( $row->time ) )
$_last_24h[ "$row->time" ] = $row->count;
}

Expand Down

0 comments on commit 60193c6

Please sign in to comment.