mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:35:12 +00:00
onedirsync issue reported by habeas codice
This commit is contained in:
parent
7cd4374e3d
commit
befe77a93f
1 changed files with 2 additions and 3 deletions
|
@ -56,11 +56,10 @@ function onedirsync_run($argv, $argc){
|
|||
dbesc($r[0]['ud_addr'])
|
||||
);
|
||||
if(($h) && ($h[0]['hubloc_status'] & HUBLOC_OFFLINE)) {
|
||||
$y = q("update updates set ud_flags = ( ud_flags | %d ) where ud_addr = '%s' and ( ud_flags & %d ) = 0 and ud_date < '%s' ",
|
||||
$y = q("update updates set ud_flags = ( ud_flags | %d ) where ud_addr = '%s' and ( ud_flags & %d ) = 0 ",
|
||||
intval(UPDATE_FLAGS_UPDATED),
|
||||
dbesc($r[0]['ud_addr']),
|
||||
intval(UPDATE_FLAGS_UPDATED),
|
||||
dbesc($x[0]['ud_date'])
|
||||
intval(UPDATE_FLAGS_UPDATED)
|
||||
);
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue