From b38671f706fc740acffc76f63ee75c1d7f73c424 Mon Sep 17 00:00:00 2001 From: Banana Date: Tue, 22 Oct 2019 00:31:30 +0200 Subject: [PATCH] a whoopsie and todo update --- TODO | 1 + webroot/lib/management.class.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index ab41bae..962b2a6 100755 --- a/TODO +++ b/TODO @@ -3,6 +3,7 @@ TODO / Feature list + delete of a link + stats, storage usage. With stats and valid auth display moderation + email import auto reply check ++ flush local storage of images + sorting + snapshots + bookmark js snippet diff --git a/webroot/lib/management.class.php b/webroot/lib/management.class.php index c4f0807..7431953 100644 --- a/webroot/lib/management.class.php +++ b/webroot/lib/management.class.php @@ -184,7 +184,7 @@ class Management { public function latestLinks($limit=5) { $ret = array(); - $queryStr = "SELECT `title` FROM `".DB_PREFIX."_link`"; + $queryStr = "SELECT `title`, `link` FROM `".DB_PREFIX."_link`"; if($this->_showPrivate === true) { $queryStr .= " WHERE `status` IN (2,1)"; } -- 2.39.5