From 3374a3605ff785ee38446696f57ccd89c3a47995 Mon Sep 17 00:00:00 2001 From: slothman Date: Fri, 8 Feb 2008 02:35:44 +0000 Subject: [PATCH] Most minor bugfix imaginable: add . to make plugin respect selected categories --- .../serendipity_plugin_recententries.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php b/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php index 6aa5943..636411b 100644 --- a/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php +++ b/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php @@ -20,8 +20,8 @@ class serendipity_plugin_recententries extends serendipity_plugin { $propbag->add('name', PLUGIN_RECENTENTRIES_TITLE); $propbag->add('description', PLUGIN_RECENTENTRIES_BLAHBLAH); $propbag->add('stackable', true); - $propbag->add('author', 'Christian Machmeier, Christian Brabandt'); - $propbag->add('version', '1.8'); + $propbag->add('author', 'Christian Machmeier, Christian Brabandt, Judebert'); + $propbag->add('version', '1.9'); $propbag->add('requirements', array( 'serendipity' => '0.8', 'smarty' => '2.6.7', @@ -178,7 +178,7 @@ class serendipity_plugin_recententries extends serendipity_plugin { $sql_order = "ORDER BY timestamp DESC "; } - $sql_condition['and'] = "AND timestamp <= " . time(); + $sql_condition['and'] .= "AND timestamp <= " . time(); serendipity_ACL_SQL($sql_condition, $category == 'none'); $entries_query = "SELECT DISTINCT id, -- 2.39.5