diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-19 08:06:56 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-19 08:06:56 +0300 |
| commit | eab69f8796c1d42b2e0d08282b5ff1859f689a8a (patch) | |
| tree | a7ec25ba4300ded6cccd974857e49a0debbd019c /plugins | |
| parent | f4973264d35cd95a110225b2e274a38bf9c7f3a6 (diff) | |
| parent | ce36b27a0d01bcc61114028d0f8ec3d3e20d30de (diff) | |
Merge branch 'feature/orm-and-misc' into 'master'
Use ORM in more places, deprecate const SUBSTRING_FOR_DATE, some minor fixes
See merge request tt-rss/tt-rss!135
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/share/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/share/init.php b/plugins/share/init.php index 8e25dc677..0a2e60dcf 100644 --- a/plugins/share/init.php +++ b/plugins/share/init.php @@ -123,7 +123,7 @@ class Share extends Plugin { $pdo = Db::pdo(); $sth = $pdo->prepare("SELECT id,title,link,content,feed_id,comments,int_id,lang, - ".SUBSTRING_FOR_DATE."(updated,1,16) as updated, + SUBSTRING_FOR_DATE(updated,1,16) as updated, (SELECT site_url FROM ttrss_feeds WHERE id = feed_id) as site_url, (SELECT title FROM ttrss_feeds WHERE id = feed_id) as feed_title, (SELECT hide_images FROM ttrss_feeds WHERE id = feed_id) as hide_images, |