[geeklog-cvs] geeklog: Fixed comment bar Refresh button (bug #0001043)
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Dec 5 13:47:27 EST 2009
changeset 7512:e055a3c14280
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/e055a3c14280
user: Dirk Haun <dirk at haun-online.de>
date: Sat Dec 05 16:24:29 2009 +0100
description:
Fixed comment bar Refresh button (bug #0001043)
diffstat:
public_html/docs/history | 1 +
public_html/staticpages/index.php | 4 +++-
2 files changed, 4 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 5579e1ef3120 -r e055a3c14280 public_html/docs/history
--- a/public_html/docs/history Sat Dec 05 16:20:42 2009 +0100
+++ b/public_html/docs/history Sat Dec 05 16:24:29 2009 +0100
@@ -21,6 +21,7 @@
Static Pages Plugin 1.6.2
-------------------
+- Fixed comment bar Refresh button (bug #0001043) [Dirk]
- Hide meta tag entry fields from Static Page editor when meta tag support is
disabled [Dirk]
- Avoid a pair of empty brackets on the printer-friendly version for Static
diff -r 5579e1ef3120 -r e055a3c14280 public_html/staticpages/index.php
--- a/public_html/staticpages/index.php Sat Dec 05 16:20:42 2009 +0100
+++ b/public_html/staticpages/index.php Sat Dec 05 16:24:29 2009 +0100
@@ -63,7 +63,9 @@
if (isset($_POST['order'])) {
$comment_order = COM_applyFilter($_POST['order']);
$comment_mode = COM_applyFilter($_POST['mode']);
- $page = COM_applyFilter($_POST['id']);
+ if (isset($_POST['page'])) {
+ $page = COM_applyFilter($_POST['page']);
+ }
if ((strcasecmp($comment_order, 'ASC') != 0) &&
(strcasecmp($comment_order, 'DESC') != 0)) {
$comment_order = '';
More information about the geeklog-cvs
mailing list