From: Banana Date: Mon, 21 Oct 2019 22:31:30 +0000 (+0200) Subject: a whoopsie and todo update X-Git-Tag: 2.2_2019-12-27~16 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=b38671f706fc740acffc76f63ee75c1d7f73c424;p=insipid.git a whoopsie and todo update --- 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)"; }