diff options
author | Mario <mario@mariovavti.com> | 2024-12-22 08:15:16 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-12-22 08:15:16 +0000 |
commit | 5b6e27233a3b0b9032f6401a07f65735e8eb707f (patch) | |
tree | 32bad23b90943e70b30a022ad500ab2378429a9b /Zotlabs | |
parent | de9b10e850c6fed08525018f0064584077b6aa7e (diff) | |
download | volse-hubzilla-5b6e27233a3b0b9032f6401a07f65735e8eb707f.tar.gz volse-hubzilla-5b6e27233a3b0b9032f6401a07f65735e8eb707f.tar.bz2 volse-hubzilla-5b6e27233a3b0b9032f6401a07f65735e8eb707f.zip |
fix sql error
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Daemon/Importdoc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Importdoc.php b/Zotlabs/Daemon/Importdoc.php index 8f04e05f8..bb30c4373 100644 --- a/Zotlabs/Daemon/Importdoc.php +++ b/Zotlabs/Daemon/Importdoc.php @@ -43,7 +43,7 @@ class Importdoc { } // remove old files that weren't updated (indicates they were most likely deleted). - $i = q("select * from item where item_type = 5 and edited < %s - %s", + $i = q("select * from item where item_type = 5 and edited < %s - INTERVAL %s", db_utcnow(), db_quoteinterval('14 DAY', true) ); |