Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13875
Modified Files:
Tag: branch-smarty
NEWS serendipity_functions.inc.php
Log Message:
mfh
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.419.2.24
retrieving revision 1.419.2.25
diff -u -d -r1.419.2.24 -r1.419.2.25
--- serendipity_functions.inc.php 20 Sep 2004 14:00:38 -0000 1.419.2.24
+++ serendipity_functions.inc.php 20 Sep 2004 14:20:21 -0000 1.419.2.25
@@ -811,7 +811,7 @@
}
if ($authorid != 'all' && is_numeric($authorid)) {
- $where = " WHERE ((c.authorid = $authorid OR c.authorid = 0) OR a.userlevel < " . $serendipity['serendipityUserlevel'] . ')';
+ $where = " WHERE ((c.authorid = $authorid OR c.authorid = 0) " . (!empty($serendipity['serendipityUserlevel']) ? " OR a.userlevel < {$serendipity['serendipityUserlevel']}" : '') . ')';
} else {
$where = '';
}
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.214.2.14
retrieving revision 1.214.2.15
diff -u -d -r1.214.2.14 -r1.214.2.15
--- NEWS 20 Sep 2004 14:00:38 -0000 1.214.2.14
+++ NEWS 20 Sep 2004 14:20:21 -0000 1.214.2.15
@@ -20,6 +20,9 @@
Version 0.7-beta3 ()
------------------------------------------------------------------------
+ * Fixed bug #1030581: Category sidebar plugin now properly displays
+ only categories of selected author (garvinhicking)
+
* Fixed XML RPC API to set categories when posting via BlogJet
or other interfaces (garvinhicking)
|