aurweb/web/lib
Mark Weiman c23914fc1d Unset $pinned unconditionally when displaying comments
In pkg_comments.php, the $pinned variable is used to determine whether
the template is supposed to print all comments or pinned comments only.
If the $pinned variable is unset, the top 10 comments are printed,
followed by an "All comments" link. If the $pinned variable is set, the
pinned comments are printed and the "All comments" link below the
comment listing is skipped. Thus, we need to make sure that this
variable is always unset at the time we include the template to display
all comments, even if it was empty before.

Fixes FS#48194.

Signed-off-by: Mark Weiman <mark.weiman@markzz.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2016-02-19 18:18:48 +01:00
..
acctfuncs.inc.php Add support for package update notifications 2016-02-07 10:54:20 +01:00
aur.inc.php Allow for logging in via email address 2015-09-11 22:18:31 +02:00
aurjson.class.php aurjson: Add package base keywords 2016-02-09 21:54:39 +01:00
cachefuncs.inc.php Remove unnecessary database connection parameter from all functions 2013-02-10 12:10:38 +01:00
confparser.inc.php confparser: Add function for getting the items of a section 2015-06-14 17:58:56 +02:00
credentials.inc.php Add comment undeletion functionality 2016-01-23 11:50:03 +01:00
DB.class.php Use an INI-style configuration file 2014-10-24 10:03:54 +02:00
feedcreator.class.php Avoid use of "<b>"/"</b>" 2012-09-24 12:23:05 +02:00
gettext.php Rename constructors to __construct 2016-01-28 22:55:32 +01:00
pkgbasefuncs.inc.php Unset $pinned unconditionally when displaying comments 2016-02-19 18:18:48 +01:00
pkgfuncs.inc.php Unset $pinned unconditionally when displaying comments 2016-02-19 18:18:48 +01:00
pkgreqfuncs.inc.php notify: Do not pass notification texts via pipes 2015-12-13 10:22:58 +01:00
routing.inc.php Move registration code to a separate unit 2015-06-27 13:04:03 +02:00
stats.inc.php Remove 'new' tag from updates table 2016-01-31 20:12:56 +01:00
streams.php Rename constructors to __construct 2016-01-28 22:55:32 +01:00
translator.inc.php Add Arabic translation 2015-06-27 13:04:03 +02:00
version.inc.php Release 4.2.0 2016-02-15 08:18:55 +01:00