mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-29 23:00:33 +00:00
markets: minor message fix
This commit is contained in:
parent
52f1aa581f
commit
548f31e846
2 changed files with 2 additions and 1 deletions
|
@ -79,6 +79,7 @@ function BackendPricesUpdate()
|
|||
|
||||
$coin->save();
|
||||
dborun("UPDATE earnings SET price={$coin->price} WHERE status!=2 AND coinid={$coin->id}");
|
||||
dborun("UPDATE markets SET message=NULL WHERE disabled=0 AND message='disabled from settings'");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ foreach($list as $market)
|
|||
|
||||
$sent = datetoa2($market->lastsent);
|
||||
$traded = datetoa2($market->lasttraded);
|
||||
$late = $market->lastsent > $market->lasttraded ? 'late': '';
|
||||
$late = $market->lastsent > $market->lasttraded && $market->lasttraded ? 'late': '';
|
||||
|
||||
echo '<td>'.(empty($sent) ? "" : "$sent ago").'</td>';
|
||||
echo '<td>'.(empty($traded) ? "" : "$traded ago").'</td>';
|
||||
|
|
Loading…
Add table
Reference in a new issue