Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17278
Modified Files:
serendipity_functions.inc.php
Log Message:
fixed wrong sql for categories dropdown
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -d -r1.250 -r1.251
--- serendipity_functions.inc.php 7 Apr 2004 12:42:42 -0000 1.250
+++ serendipity_functions.inc.php 13 Apr 2004 06:38:49 -0000 1.251
@@ -691,7 +691,7 @@
}
if ($authorid != 'all') {
- $where = " AND (authorid = $authorid OR authorid = 0)";
+ $where = " WHERE (c.authorid = $authorid OR c.authorid = 0)";
} else {
$where = '';
}
|